diff options
| author | David Gibbons <dgibbons@eircom.net> | 2015-09-16 02:32:59 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-09-16 08:20:29 -0400 |
| commit | 91e3d1215b081289f435e6ae1967ad85db2a9f52 (patch) | |
| tree | d807e581ae229acd68b30ff35e9cc9b56b455591 /docs/internals/contributing/writing-code | |
| parent | ffec5a2efce95d5d1a7593941967d3317b4930ca (diff) | |
Updated docs coverage example to run in a single process.
Diffstat (limited to 'docs/internals/contributing/writing-code')
| -rw-r--r-- | docs/internals/contributing/writing-code/unit-tests.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/internals/contributing/writing-code/unit-tests.txt b/docs/internals/contributing/writing-code/unit-tests.txt index 55e3a2d5c7..4acaa78c51 100644 --- a/docs/internals/contributing/writing-code/unit-tests.txt +++ b/docs/internals/contributing/writing-code/unit-tests.txt @@ -192,9 +192,10 @@ Contributors are encouraged to run coverage on the test suite to identify areas that need additional tests. The coverage tool installation and use is described in :ref:`testing code coverage<topics-testing-code-coverage>`. -To run coverage on the Django test suite using the standard test settings:: +Coverage should be run in a single process to obtain accurate statistics. To +run coverage on the Django test suite using the standard test settings:: - $ coverage run ./runtests.py --settings=test_sqlite + $ coverage run ./runtests.py --settings=test_sqlite --parallel=1 After running coverage, generate the html report by running:: |
