Skip to content

Instantly share code, notes, and snippets.

@hub-cap
Created January 28, 2013 16:34
Show Gist options
  • Select an option

  • Save hub-cap/4657017 to your computer and use it in GitHub Desktop.

Select an option

Save hub-cap/4657017 to your computer and use it in GitHub Desktop.
BEFORE##############################
.tox/cover/lib/python2.7/site-packages/reddwarf/taskmanager/models 347 268 43 43 20%
.tox/cover/lib/python2.7/site-packages/reddwarf/taskmanager/service 5 5 0 0 0%
.tox/cover/lib/python2.7/site-packages/reddwarf/version 17 17 2 2 0%
.tox/cover/lib/python2.7/site-packages/reddwarf/versions 71 1 6 1 97%
---------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 4791 2607 754 607 42%
_________________________________________________________________________________ summary __________________________________________________________________________________
cover: commands succeeded
congratulations :)
AFTER #######################
.tox/cover/lib/python2.7/site-packages/reddwarf/taskmanager/service 5 5 0 0 0%
.tox/cover/lib/python2.7/site-packages/reddwarf/version 17 17 2 2 0%
.tox/cover/lib/python2.7/site-packages/reddwarf/versions 71 1 6 1 97%
---------------------------------------------------------------------------------------------------------------------------------------------------------
TOTAL 4791 1286 754 328 71%
_________________________________________________________________________________ summary __________________________________________________________________________________
cover: commands succeeded
congratulations :)
GIT DIFF#######################
diff --git a/tox.ini b/tox.ini
index 6a6593a..a092c59 100644
--- a/tox.ini
+++ b/tox.ini
@@ -25,7 +25,8 @@ commands =
coverage run -m subunit.run discover ./reddwarf/tests/unittests
# replace with above line once the python path issue is resolved
# python setup.py testr --coverage
- coverage run -a --timid run_tests.py
+ coverage run -a --timid -p run_tests.py
+ coverage combine
coverage html
coverage report
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment