Skip to content

Commit

Permalink
Re-structure nf-test test files (#3807)
Browse files Browse the repository at this point in the history
* Re-structure nf-test test files

Changes:
 - Move nf-test files to the same directory as the tool (modules/nf-core/tool/subtool/main.nf.test{,.snap})
 - Will reduce need for separate test folder
 - Automatically imported with module into pipeline by nf-core/tools

* nf-test reduce testing surface

* Add subfolder tests/ to nf-test modules
  • Loading branch information
adamrtalbot authored Sep 4, 2023
1 parent 2d8f8fd commit 9a4517e
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion nf-test.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config {

testsDir "tests"
testsDir "."
workDir ".nf-test"
configFile "tests/config/nf-test.config"
profile ""
Expand Down
2 changes: 0 additions & 2 deletions tests/config/nftest_modules.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
fastqc:
- modules/nf-core/fastqc/**
- tests/modules/nf-core/fastqc/**

snakemake:
- modules/nf-core/snakemake/**
- tests/modules/nf-core/snakemake/**

0 comments on commit 9a4517e

Please sign in to comment.