[TIP] After upgrade to coverage 3.0.1, nosetests --with-coverage shows zero lines covered!

Ned Batchelder ned at nedbatchelder.com
Thu Jul 9 13:56:47 PDT 2009


I'll happily provide fixes.  What "old version" did you go back to, and 
is there some way I can run your tests?

--Ned.
http://nedbatchelder.com

Matthew Wilson wrote:
> I just upgraded to the 3.0.1 version of coverage.  Then I ran this
> command to test some of my code:
>
> $ nosetests --with-coverage --cover-package bazman.shiftcontrollers
> bazman/tests/controller_tests/test_shifttemplatecontrollers.py
>
> And the output showed ZERO lines covered.  So then I found a comment
> at stackoverflow saying that somebody went back to the old version,
> and all was well.  So I did that, and sure enough, I saw my coverage
> again.
>
> I'll happily provide more details.
>
> Matt
>
>
>
>   

-- 
Ned Batchelder, http://nedbatchelder.com





More information about the testing-in-python mailing list