testing: Add code test coverage reporting.

Fixes #38.
This commit is contained in:
derAnfaenger 2017-08-21 15:03:08 +02:00 committed by Tim Abbott
parent 95021ebd56
commit a5708e4dde
6 changed files with 88 additions and 26 deletions

View file

@ -2,8 +2,5 @@
set -ev
CURRENT_DIR=$(dirname $(dirname "$0"))
cd "$CURRENT_DIR"
python -m unittest discover -v zulip_botserver
tools/test-bots
tools/test-bots --coverage combine
tools/test-botserver --coverage combine