Closed rdegges closed 13 years ago
Use --with-xcoverage
options, read the README about the details.
Well, both --with-xcover
and --with-xcoverage
result in the same error. Here's the command I'm running now (I've read the README, but it isn't helping :o)
nosetests --verbosity 1 --with-xunit --with-xcoverage --cover-erase --cover-package=accounts,api,calls,callers,partyliners,rooms,reports
See, I'm doing --with-xcoverage in there, and NO --with-coverage.
Do you have a .noserc
or nose.cfg
with with-coverage
?
@cyberdelia, oh man. I had a ~/.noserc
setup with --with-coverage=1
from way back when, and totally forgot about it. Sorry for the trouble, noob mistake! Works great now :)
Hi there,
I'm setting up a fresh testing environment for my Django project, and I'm getting the following error when running my tests:
ERROR: You can not use both --with-xcover and --with-coverage. Using --with-xcover implies --with-coverage
I'm currently running my tests with the following nose options:
nosetests --verbosity 1 --with-xunit --cover-erase --cover-package=accounts,api,calls,callers,partyliners,rooms,reports --with-xcover
Which, as you can see, does NOT specify the
--with-coverage
flag that I'm getting in the error message. I'd love to get this working so I can get some sexy looking graphs in my Jenkins install :) Any suggestions?