From 4ccee63113d31b166d65af0fb488882defbb1818 Mon Sep 17 00:00:00 2001 From: Hidekazu Nakamura Date: Thu, 29 Mar 2018 09:16:32 +0900 Subject: [PATCH] Update readme.rst This patch updates Watcher Tempest tests execution section in readme. * Use stestr instead of testr. * Use tempest CLI instead of run_tempest.sh which was removed. Change-Id: If8a38c98d6cf542b861819d7db3fa32beff8b102 --- doc/source/readme.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/source/readme.rst b/doc/source/readme.rst index 1d9bd23..0a96b6d 100644 --- a/doc/source/readme.rst +++ b/doc/source/readme.rst @@ -125,23 +125,23 @@ Watcher Tempest tests execution To list all Watcher Tempest cases, you can issue the following commands:: $ cd - $ testr list-tests watcher + $ tempest run --list-tests --regex watcher_tempest_plugin To run only these tests in Tempest, you can then issue these commands:: - $ ./run_tempest.sh --config watcher-cloud/etc/tempest.conf -N -- watcher + $ tempest run --config-file watcher-cloud/etc/tempest.conf --regex watcher_tempest_plugin Or alternatively the following commands if you are:: $ cd /watcher-cloud - $ ../run_tempest.sh -N -- watcher + $ tempest run --regex watcher_tempest_plugin To run a single test case, go to Tempest directory, then run with test case name, e.g.:: $ cd - $ ./run_tempest.sh --config watcher-cloud/etc/tempest.conf -N \ - -- watcher_tempest_plugin.tests.api.admin.test_audit_template.TestCreateDeleteAuditTemplate.test_create_audit_template + $ tempest run --config-file watcher-cloud/etc/tempest.conf --regex \ + watcher_tempest_plugin.tests.api.admin.test_audit_template.TestCreateDeleteAuditTemplate.test_create_audit_template Alternatively, you can also run the Watcher Tempest plugin tests using tox. But before you can do so, you need to follow the Tempest explanation on running