Skip to content
Snippets Groups Projects
Commit 96612335 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

testing using bats.

parent 20e127c3
No related merge requests found
......@@ -14,7 +14,8 @@ stages:
user_configuration:
stage: unit
script:
- pytest -m unit
- module load singularity/3.0.2
- singularity run docker://bats/bats:v1.1.0 --tap workflow/tests/plot_profile.bats
- pytest -m unit --cov=./workflow/scripts
astrocyte:
......
#!/opt/bats/libexec/bats-core/ bats
profile_script="./worflow/scripts/plot_profile.sh"
profile_script="./workflow/scripts/plot_profile.sh"
setup() {
module load deeptools/2.5.0.1
......@@ -9,11 +9,4 @@ setup() {
@test "Test deeptools present" {
source ${profile_script}
run check_tools
assert_success
}
@test "Test matrix generation" {
source ${profile_script}
run check_tools
assert_success
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment