Skip to content

Commit

Permalink
test(modules): Add basic samplesheet_check
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundmiller committed Nov 7, 2022
1 parent 08a4caa commit 05df41c
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/modules/samplesheet_check/main.nf.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
nextflow_process {
name "samplesheet_check"
script "modules/local/samplesheet_check.nf"
process "SAMPLESHEET_CHECK"

test("Should run without failure") {
when {
process {
"""
input[0] = file('https://raw.githubusercontent.com/nf-core/test-datasets/rnaseq/samplesheet/v3.4/samplesheet_test.csv', checkIfExists: true)
"""
}
}

then {
assert process.success
}
}
}

0 comments on commit 05df41c

Please sign in to comment.