Switch to code-cov

This commit is contained in:
Alexandre Flament 2017-09-13 22:58:52 +02:00 committed by Dalf
parent 6ebfdf0bb3
commit fb587f11fe
4 changed files with 7 additions and 6 deletions

View file

@ -73,9 +73,9 @@ unit_tests() {
py_test_coverage() {
echo '[!] Running python test coverage'
PYTHONPATH=`pwd` python -m nose2 -C --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit"
coverage report
coverage html
PYTHONPATH=`pwd` python -m nose2 -C --log-capture --with-coverage --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit" \
&& coverage report \
&& coverage html
}
robot_tests() {