summaryrefslogtreecommitdiffstats
path: root/tests/run_all_tests.sh
blob: afac4e6f20bfb6dcda2040cf492a42b2b9ec0f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#/bin/sh

set -e

# Check that tools are installed first
nosetests3 --version > /dev/null
#python-coverage --version > /dev/null
python3-coverage --version > /dev/null

nosetests3 -v --logging-level INFO --with-coverage --cover-erase

#python-coverage html --omit="*/test*" -d tests/coverage2_html_report 2> /dev/null

python3-coverage html -d tests/coverage3_html_report 2> /dev/null
echo ""
echo "To see coverage results open tests/coverage3_html_report/index.html"