diff options
author | Robert Collins <robertc@robertcollins.net> | 2013-11-04 09:02:01 +1300 |
---|---|---|
committer | Robert Collins <robertc@robertcollins.net> | 2013-11-04 09:02:01 +1300 |
commit | 099e622dc5559cced775e9694deec6c798f590f3 (patch) | |
tree | 33c4b5773e5699d5703fbb96c288096969cb1634 /doc | |
parent | 2b86d6ae04620c09b47d29a1aed65888ac2e6e81 (diff) | |
download | testrepository-099e622dc5559cced775e9694deec6c798f590f3.tar.gz |
* ``run`` now accepts ``--isolated`` as a parameter, which will cause each
selected test to be run independently. This can be useful to both workaround
isolation bugs and detect tests that can not be run independently.
(Robert Collins)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/MANUAL.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/MANUAL.txt b/doc/MANUAL.txt index 28b286b..d0b298b 100644 --- a/doc/MANUAL.txt +++ b/doc/MANUAL.txt @@ -366,6 +366,21 @@ will perform that analysis for you. (This requires that your test runner is then either the isolation issue is racy, or it is a 3-or-more test isolation issue. Neither of those cases are automated today. +Forcing isolation +~~~~~~~~~~~~~~~~~ + +Sometimes it is useful to force a separate test runner instance for each test +executed. The ``--isolated`` flag will cause testr to execute a separate runner +per test:: + + $ testr run --isolated + +In this mode testr first determines tests to run (either automatically listed, +using the failing set, or a user supplied load-list), and then spawns one test +runner per test it runs. To avoid cross-test-runner interactions concurrency +is disabled in this mode. ``--analyze-isolation`` supercedes ``--isolated`` if +they are both supplied. + Repositories ~~~~~~~~~~~~ |