From 1903340017940b2358d44f4b2a1d25ea98a55504 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Tue, 21 Jan 2020 10:36:07 +0100 Subject: [PATCH] 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 --- TESTING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TESTING.rst b/TESTING.rst index 26ef1051fe..6c4c8c0d87 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 ------------------