-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[24.0] Record missing outputs as test errors #17874
Merged
mvdbeek
merged 12 commits into
galaxyproject:release_24.0
from
bernt-matthias:assert-empty-output_24.0
Apr 2, 2024
Merged
[24.0] Record missing outputs as test errors #17874
mvdbeek
merged 12 commits into
galaxyproject:release_24.0
from
bernt-matthias:assert-empty-output_24.0
Apr 2, 2024
Commits on Apr 2, 2024
-
- remove the output that is always present - add a test that has no outputs
Configuration menu - View commit details
-
Copy full SHA for 6687cdc - Browse repository at this point
Copy the full SHA 6687cdcView commit details -
tool verification: move no output assertion
from planemo the verify_tool function is called from [within an try-except block](https://github.com/galaxyproject/planemo/blob/1aa3eb05a97ad20c0be6f6560ab5cec090e76612/planemo/engine/galaxy.py#L109) which silently catches any exception. Thus any exception raised from within verify_tool will not be detected, i.e. the assertion needs to be moved into `_verify_outputs` (which also seems to make sense by name) in order to make verify_tool record the problem properly.
Configuration menu - View commit details
-
Copy full SHA for f19f4ae - Browse repository at this point
Copy the full SHA f19f4aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46abd27 - Browse repository at this point
Copy the full SHA 46abd27View commit details -
register failure to produce output
thereby we implicitly make the assumption that a test needs to produce an output also make message more specific
Configuration menu - View commit details
-
Copy full SHA for 6da8719 - Browse repository at this point
Copy the full SHA 6da8719View commit details -
Configuration menu - View commit details
-
Copy full SHA for fb01590 - Browse repository at this point
Copy the full SHA fb01590View commit details -
move assertion instead of removing it
otherwise the tool test will just return a list out of bounds exception which is unclear to the user
Configuration menu - View commit details
-
Copy full SHA for b05bfc3 - Browse repository at this point
Copy the full SHA b05bfc3View commit details -
Co-authored-by: Marius van den Beek <m.vandenbeek@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0b082d2 - Browse repository at this point
Copy the full SHA 0b082d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for e0fee40 - Browse repository at this point
Copy the full SHA e0fee40View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae594c1 - Browse repository at this point
Copy the full SHA ae594c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1ec2c8 - Browse repository at this point
Copy the full SHA e1ec2c8View commit details -
move registering the exception
then it might be clearer what's going on here
Configuration menu - View commit details
-
Copy full SHA for 1a545ae - Browse repository at this point
Copy the full SHA 1a545aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8612c35 - Browse repository at this point
Copy the full SHA 8612c35View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.