Skip to content

Commit

Permalink
Track branch coverage and report on coverage at completion
Browse files Browse the repository at this point in the history
From: Mark Syms <[email protected]>
  • Loading branch information
MarkSymsCtx authored and letsboogey committed Aug 11, 2016
1 parent 74e777e commit b18f57a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run_python_unittests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ fi
(
cd "$SMROOT"
PYTHONPATH="$SMROOT/drivers/" \
coverage run $(which nosetests) \
coverage run --branch $(which nosetests) \
--with-xunit \
--xunit-file=nosetests.xml \
tests
coverage xml --include "$SMROOT/drivers/*"
coverage report --include="$SMROOT/drivers/*"
)

0 comments on commit b18f57a

Please sign in to comment.