Generate sample coverage information with unittests purites?

I have several block diagram tests for a simple command line that I am writing. Can I generate test coverage numbers? I want to see which lines are not covered by my tests.

+3
source share
2 answers

I regularly use the Ned Batchelder coverage.py tool specifically for this purpose.

+8
source

testoob, --coverage. easy_install. :

testoob alltests.py --coverage
+1

Source: https://habr.com/ru/post/1716324/


All Articles