python-magnumclient/coverage.sh
Motohiro OTSUKA 29f2737a6e Added project required files.
Change-Id: Id480b25a628ac11e8def458846bb31d45463a5a6
2014-11-21 08:33:53 +09:00

9 lines
198 B
Bash
Executable File

#!/bin/sh
args=
if [ -n "$@" ] ; then
args="-t $@"
fi
python setup.py testr --coverage --slowest "$args"
python -m coverage report --show-missing
echo "Coverage generated, see cover/index.html"