nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 396 forks source link

coverage plugin: how to skip 100% covered tests? #990

Open ghost opened 8 years ago

ghost commented 8 years ago

I run my individual test files like this nosetests --nocapture --with-timer --cover-package=lastuser_core --with-coverage unit/lastuser_core/test_session_UserSession.py

this gives me coverage stats of all files in the package How do I..

  1. make it show coverage stats of that particular file?
  2. skip stats if 100% coverage has been achieved