Advertisement
Guest User

Tox + Coverage

a guest
Jul 2nd, 2014
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. py27 runtests: commands[2] | coverage run /Users/dmichel/git/cortana/.tox/py27/bin/nosetests -v
  2. testAbc (v1-test.JobsControllerTest) ... ok
  3.  
  4. ----------------------------------------------------------------------
  5. Ran 1 test in 0.245s
  6.  
  7. OK
  8. py27 runtests: commands[3] | coverage report -m --include=/Users/dmichel/git/cortana/cortana/*
  9. Name                          Stmts   Miss  Cover   Missing
  10. -----------------------------------------------------------
  11. cortana/__init__          0      0   100%
  12. cortana/v1/__init__       3      2    33%   6-7
  13. -----------------------------------------------------------
  14.  
  15. tox config
  16.  
  17.     coverage erase
  18.     coverage run {envbindir}/nosetests {posargs} # doesn't work --cover-inclusive --cover-package=cortana --with-coverage
  19.     coverage report -m --include={toxinidir}/cortana/*
  20.     coverage xml --include={toxinidir}/cortana/*
  21.     coverage html --include={toxinidir}/cortana/*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement