/run_unit_tests.sh
https://bitbucket.org/cistrome/cistrome-harvard/ · Shell · 16 lines · 10 code · 3 blank · 3 comment · 1 complexity · add763f57325577d1e30e38cdca58d3c MD5 · raw file
- #!/bin/sh
- ## Excluding controllers due to the problematic genetrack dependency
- ## Excluding job runners due to various external dependencies
- COVERAGE=`which coverage`
- COVERAGE_ARG=""
- if [ $COVERAGE ]; then
- COVERAGE_ARG="--with-coverage"
- fi
- python ./scripts/nosetests.py -v \
- $COVERAGE_ARG \
- --with-nosehtml --html-report-file run_unit_tests.html \
- --with-doctest --exclude=functional --exclude="^get" \
- --exclude=controllers --exclude=runners lib test/unit