File tree Expand file tree Collapse file tree 2 files changed +26
-63
lines changed
modules/nf-core/ribodetector/tests Expand file tree Collapse file tree 2 files changed +26
-63
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ nextflow_process {
2929 { assert process.success },
3030 { assert process.out.fastq },
3131 { assert process.out.log },
32- { assert path(process.out.log[0][1]).getText().contains("Writing output non-rRNA sequences") },
33- { assert snapshot(process.out. versions).match() }
32+ { assert path(process.out.log[0][1]).getText().contains("Writing output non-rRNA sequences") }
33+ // Note: versions collected via topic, not snapshotted
3434 )
3535 }
3636
@@ -58,7 +58,11 @@ nextflow_process {
5858 then {
5959 assertAll(
6060 { assert process.success },
61- { assert snapshot(process.out).match() }
61+ { assert snapshot(
62+ process.out.fastq,
63+ process.out.log
64+ // Note: versions collected via topic, not available in stub mode
65+ ).match() }
6266 )
6367 }
6468
Original file line number Diff line number Diff line change 11{
2- " ribodetector - rnaseq PE input" : {
3- " content" : [
4- [
5- " versions.yml:md5,00f7751920c7b6a3899b1142cf69783f"
6- ]
7- ],
8- " meta" : {
9- " nf-test" : " 0.9.2" ,
10- " nextflow" : " 25.10.0"
11- },
12- " timestamp" : " 2025-11-29T18:00:40.740454"
13- },
142 " ribodetector - stub rnaseq PE input" : {
153 " content" : [
16- {
17- " 0" : [
18- [
19- {
20- " id" : " test" ,
21- " single_end" : false
22- },
23- [
24- " test.nonrna.1.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" ,
25- " test.nonrna.2.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940"
26- ]
27- ]
28- ],
29- " 1" : [
30- [
31- {
32- " id" : " test" ,
33- " single_end" : false
34- },
35- " test.log:md5,d41d8cd98f00b204e9800998ecf8427e"
36- ]
37- ],
38- " 2" : [
39- " versions.yml:md5,00f7751920c7b6a3899b1142cf69783f"
40- ],
41- " fastq" : [
42- [
43- {
44- " id" : " test" ,
45- " single_end" : false
46- },
47- [
48- " test.nonrna.1.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" ,
49- " test.nonrna.2.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940"
50- ]
51- ]
52- ],
53- " log" : [
4+ [
5+ [
6+ {
7+ " id" : " test" ,
8+ " single_end" : false
9+ },
5410 [
55- {
56- " id" : " test" ,
57- " single_end" : false
58- },
59- " test.log:md5,d41d8cd98f00b204e9800998ecf8427e"
11+ " test.nonrna.1.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940" ,
12+ " test.nonrna.2.fastq.gz:md5,68b329da9893e34099c7d8ad5cb9c940"
6013 ]
61- ],
62- " versions" : [
63- " versions.yml:md5,00f7751920c7b6a3899b1142cf69783f"
6414 ]
65- }
15+ ],
16+ [
17+ [
18+ {
19+ " id" : " test" ,
20+ " single_end" : false
21+ },
22+ " test.log:md5,d41d8cd98f00b204e9800998ecf8427e"
23+ ]
24+ ]
6625 ],
6726 " meta" : {
6827 " nf-test" : " 0.9.2" ,
6928 " nextflow" : " 25.10.0"
7029 },
7130 " timestamp" : " 2025-11-29T18:00:56.023264"
7231 }
73- }
32+ }
You can’t perform that action at this time.
0 commit comments