From e38e4323063abe3810d00188e4d9402cbee05320 Mon Sep 17 00:00:00 2001 From: Tabitha Date: Fri, 5 Feb 2021 09:36:01 +0100 Subject: [PATCH] Updates Kuryr tempest README Updates the steps and commands for running the kuryr-tempest-plugin tests. Change-Id: I171a2ddd58626717e1c35ebf4134f11be1942c7e --- README.rst | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index f5e85978..29661d6f 100644 --- a/README.rst +++ b/README.rst @@ -42,14 +42,19 @@ Clone this repository and call from the repo:: Running the tests ----------------- -To run all the tests from this plugin, call from the tempest repo:: +To verify the functionality of Kuryr by running tests from this plugin; +From the tempest repo, initialize stestr:: - $ tox -e all -- kuryr_tempest_plugin + $ stestr init + +Then, to run all the tests from this plugin, call:: + + $ tempest run -r 'kuryr_tempest_plugin.*' To run a single test case, call with full path, for example:: - $ tox -e all -- kuryr_tempest_plugin.tests.scenario.test_cross_ping.TestCrossPingScenario.test_vm_pod_ping + $ tempest run -r 'kuryr_tempest_plugin.tests.scenario.test_cross_ping.TestCrossPingScenario.test_vm_pod_ping*' To retrieve a list of all tempest tests, run:: - $ testr list-tests + $ tempest run -l