diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-01-25 13:22:50 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-01-25 13:22:50 -0800 |
commit | e4690f4499f8ead096d6a39139ffb3f337b3a64a (patch) | |
tree | 6249bc721fbd97d2e60d089a7a51010123362934 | |
parent | 0343c389b5de6a6bdce76dde9ed44a596893dea5 (diff) | |
download | basebasebase-e4690f4499f8ead096d6a39139ffb3f337b3a64a.tar.gz basebasebase-e4690f4499f8ead096d6a39139ffb3f337b3a64a.zip |
tests: improve run_all_tests.sh
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | tests/run_all_tests.sh | 10 |
2 files changed, 8 insertions, 4 deletions
@@ -16,6 +16,8 @@ _build/ src/build/ *.log coverage_html_report +tests/coverage_html_report +tests/coverage3_html_report unused # Don't ignore this file itself diff --git a/tests/run_all_tests.sh b/tests/run_all_tests.sh index b17a34a..b391a61 100755 --- a/tests/run_all_tests.sh +++ b/tests/run_all_tests.sh @@ -5,9 +5,11 @@ set -e nosetests3 --version > /dev/null nosetests3 -v --logging-level INFO --with-coverage --cover-erase -python-coverage --version > /dev/null -python-coverage html 2> /dev/null +#python-coverage --version > /dev/null +#python-coverage html --omit="*/test*" -d tests/coverage2_html_report 2> /dev/null -coverage3 --version > /dev/null -coverage3 html 2> /dev/null +python3-coverage --version > /dev/null +python3-coverage html --omit="*/test*" -d tests/coverage3_html_report 2> /dev/null +echo "" +echo "To see coverage results open tests/coverage3_html_report/index.html" |