.. title: Nose and coverage .. slug: nose_coverage .. date: 2007-12-06 13:29:20 .. tags: dev, python
I'm working on improving the PyBlosxom testing situation and in the process
of doing that ran into a problem with
nose (version 0.10.0) and
coverage (version 2.77).
Both installed with easy_install
.
When running:
nosetests --verbose --with-coverage --cover-package=Pyblosxom --include unit nosetests --verbose --with-coverage --cover-package=Pyblosxom --include functional
I bumped into the problem described here (nose.python-hosting.com) and here (code.google.com). The solution is to either:
coverage.py
from /usr/bin
, or
/usr/bin/coverage.py
to /usr/bin/coverage