File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
nf_core/module-template/tests Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -38,9 +38,12 @@ nextflow_process {
3838 }
3939
4040 then {
41+ assert process.success
4142 assertAll(
42- { assert process.success },
43- { assert snapshot(process.out).match() }
43+ { assert snapshot(
44+ process.out,
45+ path(process.out.versions[0]).yaml
46+ ).match() }
4447 //TODO nf-core: Add all required assertions to verify the test output.
4548 // See https://nf-co.re/docs/contributing/tutorials/nf-test_assertions for more information and examples.
4649 )
@@ -70,10 +73,12 @@ nextflow_process {
7073 }
7174
7275 then {
76+ assert process.success
7377 assertAll(
74- { assert process.success },
75- { assert snapshot(process.out).match() }
76- //TODO nf-core: Add all required assertions to verify the test output.
78+ { assert snapshot(
79+ process.out,
80+ path(process.out.versions[0]).yaml
81+ ).match() }
7782 )
7883 }
7984
You can’t perform that action at this time.
0 commit comments