-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
145 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,29 @@ | ||
nextflow_workflow { | ||
|
||
name "Test Workflow decontaminate" | ||
script "subworkflows/decontamination.nf" | ||
workflow "decontaminate" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
// define parameters here. Example: | ||
// outdir = "tests/results" | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert snapshot(workflow.out).match() | ||
} | ||
|
||
} | ||
|
||
} |
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,29 @@ | ||
nextflow_workflow { | ||
|
||
name "Test Workflow clockwork" | ||
script "workflows/clockwork.nf" | ||
workflow "clockwork" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
// define parameters here. Example: | ||
// outdir = "tests/results" | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert snapshot(workflow.out).match() | ||
} | ||
|
||
} | ||
|
||
} |
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,29 @@ | ||
nextflow_workflow { | ||
|
||
name "Test Workflow vcfpredict" | ||
script "workflows/getversion.nf" | ||
workflow "vcfpredict" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
// define parameters here. Example: | ||
// outdir = "tests/results" | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert snapshot(workflow.out).match() | ||
} | ||
|
||
} | ||
|
||
} |
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,29 @@ | ||
nextflow_workflow { | ||
|
||
name "Test Workflow preprocessing" | ||
script "workflows/preprocessing.nf" | ||
workflow "preprocessing" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
// define parameters here. Example: | ||
// outdir = "tests/results" | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert snapshot(workflow.out).match() | ||
} | ||
|
||
} | ||
|
||
} |
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,29 @@ | ||
nextflow_workflow { | ||
|
||
name "Test Workflow vcfpredict" | ||
script "workflows/vcfpredict.nf" | ||
workflow "vcfpredict" | ||
|
||
test("Should run without failures") { | ||
|
||
when { | ||
params { | ||
// define parameters here. Example: | ||
// outdir = "tests/results" | ||
} | ||
workflow { | ||
""" | ||
// define inputs of the workflow here. Example: | ||
// input[0] = file("test-file.txt") | ||
""" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert snapshot(workflow.out).match() | ||
} | ||
|
||
} | ||
|
||
} |