summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorMasayuki Igawa <masayuki@igawa.io>2017-09-14 16:38:40 -0600
committerMasayuki Igawa <masayuki@igawa.io>2017-10-11 18:21:47 +0900
commitebe46989b0862a34b15e2eb9d5a68cf164645668 (patch)
treefb18f0f3ff5eb3cb2fb6f913ebe61ea3ac9ae5ca /README.rst
parentcf4880e7dc10d5275b650fec0dc6cf68ed0f8e90 (diff)
downloadtempest-ebe46989b0862a34b15e2eb9d5a68cf164645668.tar.gz
Update README to use stestr instead of testr for unit tests
This commit updates README.rst to use stestr instead of testr for unit tests. The patch[1] for changing to use stestr was already merged. It's good to change the document to use stestr instead of testr for the unit test section at least. [1] Iff4abef50178bdc83b868eed4a906e22d790762b Change-Id: Ib6485d8281aaa5991188ea5c1ba9a6a4c827e8a6
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.rst b/README.rst
index 17d4cbad8..c67362a78 100644
--- a/README.rst
+++ b/README.rst
@@ -183,11 +183,11 @@ Unit Tests
Tempest also has a set of unit tests which test the Tempest code itself. These
tests can be run by specifying the test discovery path::
- $ OS_TEST_PATH=./tempest/tests testr run --parallel
+ $ stestr --test-path ./tempest/tests run
-By setting OS_TEST_PATH to ./tempest/tests it specifies that test discover
-should only be run on the unit test directory. The default value of OS_TEST_PATH
-is OS_TEST_PATH=./tempest/test_discover which will only run test discover on the
+By setting ``--test-path`` option to ./tempest/tests it specifies that test discover
+should only be run on the unit test directory. The default value of ``test_path``
+is ``test_path=./tempest/test_discover`` which will only run test discover on the
Tempest suite.
Alternatively, there are the py27 and py35 tox jobs which will run the unit