Skip to content
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

Order of tests in the snapshot is non-deterministic #275

Open
maxulysse opened this issue Nov 28, 2024 · 0 comments
Open

Order of tests in the snapshot is non-deterministic #275

maxulysse opened this issue Nov 28, 2024 · 0 comments

Comments

@maxulysse
Copy link

For example in nf-core/references#39

I have 2 tests in tests/kallisto.nf.test:

  • Run with profile test for kallisto | --input GRCh38_chr21.yml
  • Run with profile test for kallisto | --input assets/genomes/test/pipelines/default_extended.yml

Somehow the order of these tests changed in the snapshot file (tests/kallisto.nf.test.snap).
(I don't remember if I deleted the snapshots before I regenerated, or used --cleanSnapshot)

And it becomes a bit more complicated to figure out if what I have changed affect one or both tests.

(simple to figure out on simple tests, but could be much more complex and messy on bigger tests).

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

No branches or pull requests

1 participant