From b6d47b1613285211ae42283f1fd3464fed74f8ca Mon Sep 17 00:00:00 2001 From: Eli Qiao Date: Wed, 11 Nov 2015 15:24:12 +0800 Subject: [PATCH] Update functional testing doc We'v splited the functional testing per COE, update relevant doc. Change-Id: Iaae0735aecf1af298068664d61511aa0673f54dd --- doc/source/dev/dev-functional-test.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/source/dev/dev-functional-test.rst b/doc/source/dev/dev-functional-test.rst index 4069de6cbc..0ebf6846fd 100644 --- a/doc/source/dev/dev-functional-test.rst +++ b/doc/source/dev/dev-functional-test.rst @@ -54,13 +54,21 @@ before and their versions become too old:: Run the test ============ -Test all functional cases:: +We'v splited functional testing per COE. - tox -e functional -- --concurrency=1 +Use follow command lines to check what functional testing is supported:: -Test specified functional case:: + cd /opt/stack/magnum + cat tox.ini | grep functional- | awk -F: '{print $2}' | sed s/]// - tox -e functional -- --concurrency=1 +To do some specify functional testing, for example, test api functional +cases:: + + tox -e functional-api -- --concurrency=1 + +Test specified case of api functional cases:: + + tox -e functional-api -- --concurrency=1 The following is an example for test path::