How do I include files that are called "Test*.py" inside of coverage?

I have installed nose-coverage and nose-xcoverage and have am running it this way:

nosetests --with-xunit -w mylib/ -d --include="(.*)" --verbosity=3 --exe --with-xcoverage --cover-erase --xcoverage-file=coverage.xml --cover-package=aflexi 2>&1 | tee noset

The problem I am having is one of my libraries is called ‘’ 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 ?

Source: python

Leave a Reply