From 424c53f1c4773587fb84f91e8261df6d1094f9fc Mon Sep 17 00:00:00 2001 From: Daniel Schmitz Date: Fri, 18 Oct 2024 09:31:03 +0200 Subject: [PATCH] Added stub test --- modules/nf-core/hifiasm/tests/main.nf.test | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/nf-core/hifiasm/tests/main.nf.test b/modules/nf-core/hifiasm/tests/main.nf.test index 0f5d641ba35..ea638e3291d 100644 --- a/modules/nf-core/hifiasm/tests/main.nf.test +++ b/modules/nf-core/hifiasm/tests/main.nf.test @@ -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()} + ) + } + } } \ No newline at end of file