forked from nf-core/modules
-
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.
nf-test tcoffee/seqreformat (nf-core#4435)
* Add nf-test for tcoffee/seqreformat * Remove pytest
- Loading branch information
1 parent
1f253ec
commit b04c647
Showing
11 changed files
with
63 additions
and
104 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,33 @@ | ||
nextflow_process { | ||
|
||
name "Test Process TCOFFEE_SEQREFORMAT" | ||
script "../main.nf" | ||
process "TCOFFEE_SEQREFORMAT" | ||
|
||
tag "modules" | ||
tag "modules_nfcore" | ||
tag "tcoffee" | ||
tag "tcoffee/seqreformat" | ||
|
||
test("sarscov2 - bam") { | ||
|
||
when { | ||
process { | ||
""" | ||
input[0] = [ [ id:'test' ], | ||
file("https://raw.githubusercontent.com/nf-core/test-datasets/multiplesequencealign/testdata/setoxin-ref.fa", checkIfExists: true) | ||
] | ||
""" | ||
} | ||
} | ||
|
||
|
||
then { | ||
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out.formatted_file).match("formatted_file")}, | ||
{ assert snapshot(process.out.versions).match("versions") } | ||
) | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
modules/nf-core/tcoffee/seqreformat/tests/main.nf.test.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,3 @@ | ||
process { | ||
ext.args = "-output=sim_idscore" | ||
} |
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,2 @@ | ||
tcoffee/seqreformat: | ||
- "modules/nf-core/tcoffee/seqreformat/**" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.