Skip to content

Rephrases documentation #7878

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Mar 25, 2020
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions docs/html/development/getting-started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,17 @@ pip's tests are written using the :pypi:`pytest` test framework, :pypi:`mock`
and :pypi:`pretend`. :pypi:`tox` is used to automate the setup and execution of
pip's tests.

It is preferable to run the tests in parallel for better experience during development,
since the tests can take a long time to finish when run sequentially.
To run tests locally, run:

.. code-block:: console

$ tox -e py36

Generally, it can take a long time to run pip's test suite. To run tests in parallel,
which is faster, run:
$ tox -e py36 -- -n auto

For running tests sequentially remove the ``-n`` flag.
.. code-block:: console

$ tox -e py36 -- -n auto
$ tox -e py36

The example above runs tests against Python 3.6. You can also use other
versions like ``py27`` and ``pypy3``.
Expand Down
1 change: 1 addition & 0 deletions news/7683.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rephrases test execution command