From f1886df98c6f9ff1a81d91f1c685c5a41eb62e18 Mon Sep 17 00:00:00 2001 From: Anusha Ramineni Date: Fri, 13 Nov 2015 15:23:36 +0530 Subject: [PATCH] Update readme on tox commands to run tempest tests This patch updates readme on using tox to run tempest tests. Change-Id: I7a6e49484a33605620ef6f01c4baf7f291dec339 --- congress_tempest_tests/tests/README.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/congress_tempest_tests/tests/README.rst b/congress_tempest_tests/tests/README.rst index 85fae9bde..8b5f3faac 100644 --- a/congress_tempest_tests/tests/README.rst +++ b/congress_tempest_tests/tests/README.rst @@ -10,8 +10,16 @@ To list all Congress tempest cases, go to tempest directory, then run:: To run only these tests in tempest, go to tempest directory, then run:: - $ ./run_tempest -N -- congress + $ ./run_tempest.sh -N -- congress To run a single test case, go to tempest directory, then run with test case name, e.g.:: $ ./run_tempest.sh -N -- congress_tempest_tests.tests.scenario.test_congress_basic_ops.TestPolicyBasicOps.test_policy_basic_op + +Alternatively, to run congress tempest plugin tests using tox, go to tempest directory, then run:: + + $ tox -eall-plugin congress + +And, to run a specific test:: + + $ tox -eall-plugin congress_tempest_tests.tests.scenario.test_congress_basic_ops.TestPolicyBasicOps.test_policy_basic_op