Skip to main content
Adam Parkin's user avatar
Adam Parkin's user avatar
Adam Parkin's user avatar
Adam Parkin
  • Member for 3 years, 8 months
  • Last seen more than 3 years ago
awarded
comment
Why do code coverage of integration test?
"You typically exclude test code from code coverage reports" -- I actually don't do this for one specific reason: sometimes it reveals tests that aren't actually being run, or test fixtures that aren't actually being used. Like if I see tests/foobar.py at less than 100% coverage I immediately go "hey that's weird" and look inside to see what in that file isn't being exercised as part of a test run.