Update functional testing doc

We'v splited the functional testing per COE, update relevant doc.

Change-Id: Iaae0735aecf1af298068664d61511aa0673f54dd
This commit is contained in:
Eli Qiao 2015-11-11 15:24:12 +08:00
parent 4aa6a23e00
commit b6d47b1613
1 changed files with 12 additions and 4 deletions

View File

@ -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 <test path>
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 <test path>
The following is an example for test path::