-
Notifications
You must be signed in to change notification settings - Fork 705
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
Fix tags entries and rename pipeline level tests #1324
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- You don't need any tags anymore, so they can be removed
- Put all the test names back. Test names should say what they are testing, not what parameters you are changing. I don't give a flying fig that
--parameterA false
, I care that the test is checking that resultA is not produced when parameterA is disabled. nf-core has a terrible habit of naming things what they are and not what they do which we need to get rid of.
tag "UNTAR" | ||
tag "CUSTOM_TX2GENE" | ||
tag "TXIMETA_TXIMPORT" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What are these tags doing here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These modules are used in setup
sections for this test. If any of those modules change upstream do we not want to run this test too? Or is there some other magic that nf-test uses to track this behind the scenes that I am not aware of?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correct, tags have not been used at all for a few months now.
subworkflows/nf-core/bedgraph_bedclip_bedgraphtobigwig/tests/main.nf.test
Outdated
Show resolved
Hide resolved
tag "salmon/quant" | ||
tag "salmon/index" | ||
|
||
tag "SALMON_INDEX" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tags aren't required, but they don't cause any harm here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #1324 (comment)
tag
entries in tests to make them consistent