Kaydet (Commit) 91e3d121 authored tarafından David Gibbons's avatar David Gibbons Kaydeden (comit) Tim Graham

Updated docs coverage example to run in a single process.

üst ffec5a2e
...@@ -192,9 +192,10 @@ Contributors are encouraged to run coverage on the test suite to identify areas ...@@ -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 that need additional tests. The coverage tool installation and use is described
in :ref:`testing code coverage<topics-testing-code-coverage>`. 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:: After running coverage, generate the html report by running::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment