When using nose 1.2.1 with Python 3.3.0, I sometimes get an error message similar to the following one In many situations, to figure out what the error really is, I need to see the full diff output. However, I have no idea of how to set that self.maxDiff. Googling for nose and maxDiff does not help. With the same version
Tag: nose
How to exclude a file from coverage.py?
I use nosetest’s coverage.py plugin. Is it somehow possible to exclude entire files or folders from the coverage report? My use case is having an external library in my project folder that obviously isn’t covered by my test suite. Answer Yeah, they have pretty extensive support for this in the docs. When running your code, the coverage run command will