-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
35 additions
and
7 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 |
---|---|---|
@@ -1,8 +1,6 @@ | ||
config { | ||
|
||
testsDir "tests" | ||
workDir ".nf-test" | ||
configFile "tests/nextflow.config" | ||
profile "" | ||
|
||
profile "docker" | ||
} |
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
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,28 @@ | ||
nextflow_pipeline { | ||
|
||
name "Integration Tests from assemblies for MIKROKONDO" | ||
script "main.nf" | ||
|
||
test("Small-scale test of full pipeline") { | ||
tag "pipeline" | ||
|
||
when { | ||
params { | ||
input = "$baseDir/tests/data/samplesheets/samplesheet1.csv" | ||
outdir = "results" | ||
} | ||
} | ||
|
||
then { | ||
assert workflow.success | ||
assert path("$launchDir/results").exists() | ||
assert path("$launchDir/results/locidex/merged/profile.tsv").exists() | ||
|
||
// compare IRIDA Next JSON output | ||
def iridanext_json = path("$launchDir/results/iridanext.output.json").json | ||
def iridanext_global = iridanext_json.files.global | ||
def iridanext_samples = iridanext_json.files.samples | ||
def iridanext_metadata = iridanext_json.metadata.samples | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.