Hi all. Please be aware of a new guideline with wr...
# modules
m
Hi all. Please be aware of a new guideline with writing nf-tests for modules. There should only be one
nextflow.config
and module args should be passed using
params
in the test as described https://nf-co.re/docs/guidelines/components/modules#configuration-of-extargs-in-tests.
🎉 2
👍🏻 1
👍 4
s
@Mahesh Binzer-Panchal could you add a section on using more descriptive variable names than
it
in assertions as you suggested previously for clarity. I am updating the nf-test assertions doc and its examples listed therein accordingly • bclconvert • bismark/align
f
So instead of setting the args in the config files we set them in main.nf.test directly?
m
yes
@Sateesh_Peri In components/subworkflows?
s
I would say in both the pages of components: 8. Testing in modules 6. Testing in sub workflows