
Coverage.py - Ned Batchelder
Django Chat
00:00
How to Mark Tests for Test Coverage
There was an article in the news this week about how coverage itself isn't a good marker of the test base. And if you write one test and then run your project on coverage, you're probably going to get like 35% coverage just because all of your import statements will have run. The big thing in coverage five was that the package can tell you for each line of code which tests ran to cover that line.
Transcript
Play full episode