Closed adswa closed 3 years ago
Change of plans, we will be using shunit2.
The current tests are in /data/project/studyforrest/anondata/tests
, we can move them into the reconverted datasets once they exist.
Tests should be executed via datalad run.
Once we have a converted dataset, we adjust paths in the tests, add it into a tests
directory, and executed within a datalad run
:
datalad run -m "run tests" \
shunit2 tests/test.sh && timestamp=$(date); echo "Successful test run on $timestamp \n" >> tests/test.log
It lives in /data/project/studyforrest/studyforrest-unit-tests now and awaits the conversion of @bpoldrack
The plan is to use bats to write a shell script that can check the integrity of the data