When will my test suite Python package not be 100%?

We use Hudson and coverage.py to report code coverage for our test suite. Hudson breaks the cover into:

  • packages
  • files
  • Classes
  • the lines
  • conditional

Coverage.py only reports coverage of files executed / imported during tests, and therefore it seems that it does not notice any files not executed during tests. Is there ever an instance where files will not report 100% coverage?

+5
source share
2 answers

, , , , , . , 100%. , ( Cobertura) cover.py .

+3

Coverage.py( 3.4) . . docs.

+2

All Articles