I know Eclipse + PyDev has an option Run As
=> 3 Python Coverage
. But all it reports is:
Ran 6 tests in 0.001s
OK
And it says nothing about code coverage. How to get a code coverage report in Pydev?
I know Eclipse + PyDev has an option Run As
=> 3 Python Coverage
. But all it reports is:
Ran 6 tests in 0.001s
OK
And it says nothing about code coverage. How to get a code coverage report in Pydev?
See if this helps http://www.machine-envy.com/blog/2006/07/29/automated-python-testing-with-nose-and-eclipse/
It uses nosetests with the –with-coverage
option.
Actually this is a really nice feature, didn't know about it before :)