Skip to content

Commit f13e192

Browse files
committed
docs: recommend parallel test execution
1 parent e97d25f commit f13e192

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎testing/run-write-tests.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ Running and writing tests
1717
Running
1818
=======
1919

20-
The shortest, simplest way of running the test suite is the following command,
21-
which runs tests in parallel, from the root directory of your checkout
22-
(after you have :ref:`built Python <compiling>`):
20+
The recommended way to run the test suite is to use parallel execution from the root directory of your checkout (after you have :ref:`built Python <compiling>`):
2321

2422
.. tab:: Unix
2523

@@ -41,6 +39,8 @@ which runs tests in parallel, from the root directory of your checkout
4139
4240
.\python.bat -m test -j0
4341
42+
The ``-j0`` option runs tests in parallel using the available CPU resources. This is significantly faster than running tests sequentially.
43+
4444
This will run the majority of tests, but exclude a small portion of them; these
4545
excluded tests use special kinds of resources: for example, accessing the
4646
Internet, or trying to play a sound or to display a graphical interface on

0 commit comments

Comments
 (0)