Update README.rst to use testr instead of nose
This commit just changes the references to nose in the project README to testr. It also adds a sentence about using run_tests.sh and tox. Change-Id: I7512b7f954c1c83186b1f428e9371261cf50f41b
This commit is contained in:
parent
35018f239a
commit
b17460e89e
12
README.rst
12
README.rst
@ -32,16 +32,18 @@ and reference data to be used in testing.
|
||||
will have a configuration file already set up to work with your
|
||||
devstack installation.
|
||||
|
||||
Tempest is not tied to any single test runner, but Nose been the most commonly
|
||||
Tempest is not tied to any single test runner, but testr is the most commonly
|
||||
used tool. After setting up your configuration file, you can execute
|
||||
the set of Tempest tests by using ``nosetests`` ::
|
||||
the set of Tempest tests by using ``testr`` ::
|
||||
|
||||
$> nosetests tempest
|
||||
$> testr run --parallel tempest
|
||||
|
||||
To run one single test ::
|
||||
|
||||
$> nosetests -sv tempest.api.compute.servers.test_server_actions.py:
|
||||
ServerActionsTestJSON.test_rebuild_nonexistent_server
|
||||
$> testr run --parallel tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_rebuild_nonexistent_server
|
||||
|
||||
Alternatively, you can use the run_tests.sh script which will create a venv
|
||||
and run the tests or use tox to do the same.
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
|
Loading…
Reference in New Issue
Block a user