Skip to content

Re-write tests to UTILS.groovy style#294

Merged
LouisLeNezet merged 8 commits into
nf-core:devfrom
atrigila:utils_nf_test
Jun 22, 2026
Merged

Re-write tests to UTILS.groovy style#294
LouisLeNezet merged 8 commits into
nf-core:devfrom
atrigila:utils_nf_test

Conversation

@atrigila

Copy link
Copy Markdown
Collaborator

This PR migrates nf-tests from its current structure to the UTILS.groovy scenario structure, as done in nf-core/rnavar. This makes the test cases more concise.

@atrigila atrigila requested a review from LouisLeNezet June 21, 2026 19:27

@LouisLeNezet LouisLeNezet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As you renamed the tests, the snapshot now contains unused tests.
If you look at the PR details, most of the snapshot as something like +400 new lines while the one for glimpse1 only have +5 and -9 (which should be the case for all the snapshots).
Could you rename the snapshots test names and delete the unused / duplicate ?

Other wise I don't see any issue on this PR 😉

@atrigila atrigila requested a review from LouisLeNezet June 21, 2026 21:47

@LouisLeNezet LouisLeNezet left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

@LouisLeNezet LouisLeNezet merged commit 7d42991 into nf-core:dev Jun 22, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants