Merge "Switch from ostestr to stestr"

This commit is contained in:
Jenkins 2017-10-15 22:00:51 +00:00 committed by Gerrit Code Review
commit 66fde42d10
2 changed files with 8 additions and 5 deletions

View File

@ -103,10 +103,13 @@ Or all tests in the test_volume.py file::
You may also use regular expressions to run any matching tests::
tox -epy27 -- -r test_volume
tox -epy27 -- test_volume
For more information on these options and how to run tests, please see the
`ostestr documentation <https://docs.openstack.org/os-testr/latest/>`_.
Additionally, when running a single test, or test-file, the `-n` argument is no
longer required, however it may perform faster if included.
For more information on these options and details about stestr, please see the
`stestr documentation <http://stestr.readthedocs.io/en/latest/MANUAL.html>`_.
Gotchas
-------

View File

@ -18,13 +18,13 @@ install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstac
deps = -r{toxinidir}/test-requirements.txt
# By default ostestr will set concurrency
# By default stestr will set concurrency
# to ncpu, to specify something else use
# the concurrency=<n> option.
# call ie: 'tox -epy27 -- --concurrency=4'
commands =
find . -type f -name "*.pyc" -delete
ostestr {posargs}
stestr run '{posargs}'
whitelist_externals =
bash