[Snakemake] Update test cases

This commit is contained in:
kpj 2020-09-07 16:55:06 +02:00
parent 1e453be7fa
commit ea5d4aa2a1
3 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Snakemake test cases
This folder holds the test cases for **Snakemake**.
## Additional Docs
No Additional information is needed for this test case.
## Good Test Cases
The test cases denoted: `LANGUAGE_good_FILE.EXTENSION` are all valid, and should pass successfully when linted.
- **Note:** They are linted utilizing the default linter rules.
## Bad Test Cases
The test cases denoted: `LANGUAGE_bad_FILE.EXTENSION` are **NOT** valid, and should trigger errors when linted.
- **Note:** They are linted utilizing the default linter rules.

View file

@ -0,0 +1,12 @@
rule all:
input:
file1='result.txt',
rule simulation:
output:
file1="result.txt"
shell:
"""
touch {output}
"""

View file

@ -0,0 +1,12 @@
rule all:
input:
file1="result.txt",
rule simulation:
output:
file1="result.txt",
shell:
"""
touch {output}
"""