Reverted "Fixed #33213 -- Doc'd testing code coverage in parallel and used it."

This reverts commit 69352d85fa.

Test coverage for async methods was no longer calculated with this
change.
This commit is contained in:
Mariusz Felisiak 2023-03-15 13:05:48 +01:00 committed by GitHub
parent 8a844e761d
commit 78da5ca0c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 12 deletions

View file

@ -357,19 +357,14 @@ 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:
.. console::
$ coverage run ./runtests.py --settings=test_sqlite
$ coverage run ./runtests.py --settings=test_sqlite --parallel=1
After running coverage, combine all coverage statistics by running:
.. console::
$ coverage combine
After that generate the html report by running:
After running coverage, generate the html report by running:
.. console::