Skip to content

Commit

Permalink
Update README.rst with pytest-xdist 3.0.2 news
Browse files Browse the repository at this point in the history
In `pytest-xdist 3.0` (), the option `--boxed` was removed in favor of the `pytest-forked` plugin.

This PR adjusts the advice to the new (well... Dec 2021) situation.
  • Loading branch information
1ucian0 authored and flub committed Jun 19, 2024
1 parent 935f51c commit 3d41ba8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,10 @@ The downsides of this method are that there is a relatively large
overhead for running each test and that test runs are not completed.
This means that other pytest features, like e.g. JUnit XML output or
fixture teardown, will not function normally. The second issue might
be alleviated by using the ``--boxed`` option of the pytest-xdist_
be alleviated by using the ``--forked`` option of the pytest-forked_
plugin.

.. _pytest-xdist: https://pypi.org/project/pytest-xdist/
.. _pytest-forked: https://pypi.org/project/pytest-forked/

The benefit of this method is that it will always work. Furthermore
it will still provide you debugging information by printing the stacks
Expand Down

0 comments on commit 3d41ba8

Please sign in to comment.