I have installed nose-coverage and nose-xcoverage and have am running it this way:
nosetests --with-xunit -w mylib/ -d --include="(.*)_tests.py" --verbosity=3 --exe --with-xcoverage --cover-erase --xcoverage-file=coverage.xml --cover-package=aflexi 2>&1 | tee noset ests.log
The problem I am having is one of my libraries is called ‘TestWorker.py’ and I want that to be included in my coverage report as well. I do not want my tests to be included in coverage. How can I do that ?