/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

  1. #!/bin/sh
  2. ## Excluding controllers due to the problematic genetrack dependency
  3. ## Excluding job runners due to various external dependencies
  4. COVERAGE=`which coverage`
  5. COVERAGE_ARG=""
  6. if [ $COVERAGE ]; then
  7. COVERAGE_ARG="--with-coverage"
  8. fi
  9. python ./scripts/nosetests.py -v \
  10. $COVERAGE_ARG \
  11. --with-nosehtml --html-report-file run_unit_tests.html \
  12. --with-doctest --exclude=functional --exclude="^get" \
  13. --exclude=controllers --exclude=runners lib test/unit