summaryrefslogtreecommitdiff
path: root/TESTING.rst
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2020-01-21 10:36:07 +0100
committerAntoine Musso <hashar@free.fr>2020-01-21 10:36:07 +0100
commit1903340017940b2358d44f4b2a1d25ea98a55504 (patch)
treeb52ffb60da3fd86abc55aeea0cfdbba8e90c391a /TESTING.rst
parentb96b81000d2625f6db4b080b6c704e4dae1e350f (diff)
downloadzuul-1903340017940b2358d44f4b2a1d25ea98a55504.tar.gz
Docs: fix stestr run example
In TESTING.rst, the `stestr run` incorrectly used `-t` to pass a test filter. The option is common to `stestr` and is used to specify the test path used for unittest discovery. It is already configured in `.stestr.conf`: [DEFAULT] test_path=tests/unit One just has to pass the fully qualified test name as an argument. Change-Id: I8086ba862e5140eb2e1134c96359f1f30032b198
Diffstat (limited to 'TESTING.rst')
-rw-r--r--TESTING.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/TESTING.rst b/TESTING.rst
index 26ef1051f..6c4c8c0d8 100644
--- a/TESTING.rst
+++ b/TESTING.rst
@@ -93,7 +93,7 @@ For example, to *run a single Zuul test*::
To *run one test in the foreground* (after previously having run tox
to set up the virtualenv)::
- .tox/py35/bin/stestr run -t tests.unit.test_scheduler.TestScheduler.test_jobs_executed
+ .tox/py35/bin/stestr run tests.unit.test_scheduler.TestScheduler.test_jobs_executed
List Failing Tests
------------------