-
Notifications
You must be signed in to change notification settings - Fork 709
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(modules): Add basic samplesheet_check
- Loading branch information
1 parent
08a4caa
commit 05df41c
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} |