File tree 2 files changed +52
-0
lines changed
modules/local/gtf_filter/tests
2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ nextflow_process {
2
+
3
+ name "Test Process GTF_FILTER"
4
+ script "../main.nf"
5
+ process "GTF_FILTER"
6
+
7
+ test("Should run without failures") {
8
+
9
+ when {
10
+ process {
11
+ """
12
+ input[0] = file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.fasta', checkIfExists: true)
13
+ input[1] = file(params.modules_testdata_base_path + 'genomics/sarscov2/genome/genome.gtf', checkIfExists: true)
14
+ """
15
+ }
16
+ }
17
+
18
+ then {
19
+ assertAll(
20
+ { assert process.success },
21
+ { assert snapshot(process.out).match() }
22
+ )
23
+ }
24
+
25
+ }
26
+
27
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ " Should run without failures" : {
3
+ " content" : [
4
+ {
5
+ " 0" : [
6
+ " genome.filtered.gtf:md5,aa8b2aa1e0b5fbbba3b04d471e1b0535"
7
+ ],
8
+ " 1" : [
9
+ " versions.yml:md5,4adf55ec05d247fd6d253459bd80856f"
10
+ ],
11
+ " genome_gtf" : [
12
+ " genome.filtered.gtf:md5,aa8b2aa1e0b5fbbba3b04d471e1b0535"
13
+ ],
14
+ " versions" : [
15
+ " versions.yml:md5,4adf55ec05d247fd6d253459bd80856f"
16
+ ]
17
+ }
18
+ ],
19
+ " meta" : {
20
+ " nf-test" : " 0.8.4" ,
21
+ " nextflow" : " 23.10.1"
22
+ },
23
+ " timestamp" : " 2024-03-06T15:52:37.977802"
24
+ }
25
+ }
You can’t perform that action at this time.
0 commit comments