We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2d211 commit ec57c62Copy full SHA for ec57c62
nf-test.config
@@ -1,5 +1,5 @@
1
config {
2
- // Location of nf-tests
+ // Location of nf-tests
3
testsDir "."
4
5
// nf-test directory used to create temporary files for each test
tests/handle_data.nf.test
@@ -0,0 +1,29 @@
+
+nextflow_workflow {
+ name "Test Workflow HANDLE_DATA"
+ script "../workflows/handle_data.nf"
6
+ workflow "HANDLE_DATA"
7
8
+ test("Test reproducibility of data handling") {
9
10
+ when {
11
+ workflow {
12
+ """
13
+ input[0] = Channel.fromPath(params.csv)
14
+ input[1] = Channel.fromPath(params.exp_conf)
15
+ input[2] = Channel.of("TESTING")
16
17
+ }
18
19
20
+ then {
21
22
+ assert workflow.success
23
24
+ with(workflow.out.data) {
25
+ assert size() == 2
26
27
28
29
+}
tests/main.nf.test
0 commit comments