Skip to content

Commit

Permalink
Added stub test
Browse files Browse the repository at this point in the history
  • Loading branch information
Schmytzi committed Oct 18, 2024
1 parent 6f257ca commit 424c53f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions modules/nf-core/hifiasm/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,28 @@ nextflow_process {
)
}
}

test("homo_sapiens pacbio hifi [fastq, , , , ] - stub") {
options "-stub"
when {
process {
"""
input[0] = [
[ id : 'test'],
[ file(params.modules_testdata_base_path + 'genomics/homo_sapiens/pacbio/fastq/test_hifi.fastq.gz', checkIfExists: true)]
]
input[1] = []
input[2] = []
input[3] = []
input[4] = []
"""
}
}
then {
assertAll(
{ assert process.success },
{ assert snapshot(process.out).match()}
)
}
}
}

0 comments on commit 424c53f

Please sign in to comment.