From 7c3a86a549a75c005006030727a3c19b82e84443 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 22 Dec 2017 16:49:14 -0200 Subject: [PATCH] Mention pytest-forked instead of the help for `--boxed` --- README.rst | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/README.rst b/README.rst index 575f422..12bfaf7 100644 --- a/README.rst +++ b/README.rst @@ -112,21 +112,9 @@ will be load-balanced across these three processes. Running tests in a boxed subprocess ----------------------------------- -If you have tests involving C or C++ libraries you might have to deal -with tests crashing the process. For this case you may use the boxing -options:: - - py.test --boxed - -which will run each test in a subprocess and will report if a test -crashed the process. You can also combine this option with -running multiple processes to speed up the test run and use your CPU cores:: - - py.test -n3 --boxed - -this would run 3 testing subprocesses in parallel which each -create new boxed subprocesses for each test. - +This functionality has been moved to the +`pytest-forked `_ plugin, but the ``--boxed`` option +is still kept for backward compatibility. .. _`remote machines`: