DOC: Add instructions for running the test suite

This commit is contained in:
Eric Dill 2015-07-12 14:00:29 -05:00
parent 0865a3166b
commit f3e63e4e83
2 changed files with 12 additions and 0 deletions

3
.gitignore vendored
View File

@ -99,3 +99,6 @@ generated/
MANIFEST
deb_build
rtr.cvs
# pytest parallel
.coverage*

View File

@ -49,3 +49,12 @@ Please use the following guidelines when preparing changes:
QObject subclasses that implement new signals should also describe
these in a similar table.
* Setting up a test environment.
Tests for a module should ideally cover all code in that module,
i.e., statement coverage should be at 100%.
To measure the test coverage, install py.test, pytest-cov and pytest-xdist.
Then run 'py.test --cov -n 4' to run the test suite with coverage on 4 cores.