[TIP] Coverage + nose, suppress printing of coverage information
larson.eric.d at gmail.com
Sat Aug 2 15:16:29 PDT 2014
I am using `nose` combined with `coverage` to test code coverage in several
projects, and it is working well. However, I would like to be able to run
nosetests and generate coverage information (i.e., the .coverage file) but
*not* print the results of the coverage report to the terminal.
In my case, each PR on Github automatically sends info to Coveralls, which
generates nice reports, so I don't need to see it. Moreover, having the
printout makes it more difficult to scroll to the points in the tests that
might have failed.
Is there a way to generate coverage information but not print it out?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the testing-in-python