Doc: Remove -r option for running a specific unit test
Now that os-testr was replaced with stestr for running unit tests, -r options is no longer necessary to pass a regex to the test runner. Change-Id: I2d3738e3af47a4a01db3223941e07e68537b5a5c
This commit is contained in:
parent
ce9bdbffb1
commit
2822e05673
@ -104,11 +104,11 @@ name. For example::
|
|||||||
tox -epy27 -epep8
|
tox -epy27 -epep8
|
||||||
|
|
||||||
You may pass options to the test programs using positional arguments.
|
You may pass options to the test programs using positional arguments.
|
||||||
To run a specific unit test, this passes the -r option and desired test
|
To run a specific unit test, this passes the desired test
|
||||||
(regex string) to `os-testr <https://pypi.org/project/os-testr>`_::
|
(regex string) to `stestr <https://pypi.org/project/stestr>`_::
|
||||||
|
|
||||||
# run a specific test for Python 2.7
|
# run a specific test for Python 2.7
|
||||||
tox -epy27 -- -r test_conductor
|
tox -epy27 -- test_conductor
|
||||||
|
|
||||||
Debugging unit tests
|
Debugging unit tests
|
||||||
--------------------
|
--------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user