Simon Pearce
01/19/2026, 12:20 PMtests folder?
For instance: https://github.com/nf-core/modules/pull/9660/filesJim Downie
01/19/2026, 12:26 PMJames Fellows Yates
01/19/2026, 12:27 PMJames Fellows Yates
01/19/2026, 12:27 PMMaxime Garcia
01/19/2026, 12:32 PMSimon Pearce
01/19/2026, 12:44 PMSimon Pearce
01/19/2026, 12:44 PMSimon Pearce
01/19/2026, 12:44 PMSimon Pearce
01/19/2026, 12:44 PMJames Fellows Yates
01/19/2026, 12:45 PMmain.nf.test is polluted than forced pollution of my pipeline ๐James Fellows Yates
01/19/2026, 12:45 PMtest-datasetsSimon Pearce
01/19/2026, 12:45 PMJames Fellows Yates
01/19/2026, 12:45 PMJames Fellows Yates
01/19/2026, 12:46 PMJim Downie
01/19/2026, 12:47 PMSimon Pearce
01/19/2026, 12:49 PMSimon Pearce
01/19/2026, 12:49 PMSimon Pearce
01/19/2026, 12:50 PMSimon Pearce
01/19/2026, 12:50 PMSimon Pearce
01/19/2026, 12:50 PMJames Fellows Yates
01/19/2026, 12:51 PMJames Fellows Yates
01/19/2026, 12:51 PMSimon Pearce
01/19/2026, 12:51 PMSimon Pearce
01/19/2026, 12:51 PMSimon Pearce
01/19/2026, 12:51 PMJames Fellows Yates
01/19/2026, 12:51 PMSimon Pearce
01/19/2026, 12:51 PMSimon Pearce
01/19/2026, 12:52 PMJames Fellows Yates
01/19/2026, 12:52 PMSimon Pearce
01/19/2026, 12:52 PMSimon Pearce
01/19/2026, 12:52 PMSimon Pearce
01/19/2026, 12:53 PMJames Fellows Yates
01/19/2026, 12:53 PMJames Fellows Yates
01/19/2026, 12:54 PMJames Fellows Yates
01/19/2026, 12:54 PMJim Downie
01/19/2026, 1:45 PMnextflow.config file in the test directory - some tests have multiple of those. IMO it's fine to include a test file for a module in the tests as long as:
โข the file format is specific to the module - e.g. a config file
โข it is plaintext
โข it is very small
โข you only need one!
But I appreciate that not everyone would agree, hence the suggestion you could embed it in the nf-test:
setup {
new File("${launchDir}/test.yaml").text = """
freq: "AF"
depth: "DP"
altDepth: "AD"
maxVaf: "1"
""".stripIndent()
}
//...
process {
"""
input[N] = file("${launchDir}/test.yaml")
"""
}Matthieu Muffato
01/19/2026, 2:31 PMmeta.yaml sort, we know the schema they need to be validated against, write CI + nf-core/tools, etc. What happens when we start adding other yml files ?
Same for .config files. This is a very generic extension, and itโs very specific to this repo to know/assume they are Nextflow config files. If any tool brings its own config file format named dummy.config Iโm sure itโll create problems.