From 186cdc71bf9bdd00be1df87d90d1a4c57790208c Mon Sep 17 00:00:00 2001 From: xudan Date: Mon, 25 Sep 2017 23:30:08 -0400 Subject: Support to run mandatory or optional test cases separately 1. Currently, dovetail can run a test suite or a test area in that test suite. 2. The test areas in one test suite are not divided into optional and mandatory. 3. Split them and support to run just mandatory or optional. 4. Support to run multiple test areas. JIRA: DOVETAIL-505 Change-Id: I42cd7b4e11c3e3674c806e9bc999b782bf5c85c6 Signed-off-by: xudan --- dovetail/conf/cmd_config.yml | 2 +- dovetail/conf/dovetail_config.yml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) (limited to 'dovetail/conf') diff --git a/dovetail/conf/cmd_config.yml b/dovetail/conf/cmd_config.yml index 58409f2b..470c7108 100644 --- a/dovetail/conf/cmd_config.yml +++ b/dovetail/conf/cmd_config.yml @@ -45,7 +45,7 @@ cli: testarea: flags: - '--testarea' - default: 'full' + multiple: 'True' help: 'compliance testarea within testsuite' debug: flags: diff --git a/dovetail/conf/dovetail_config.yml b/dovetail/conf/dovetail_config.yml index e93bd64a..b95c6d37 100644 --- a/dovetail/conf/dovetail_config.yml +++ b/dovetail/conf/dovetail_config.yml @@ -37,6 +37,9 @@ testarea_supported: - vping - resiliency - tempest + - optional + - mandatory + - full functest_testsuite: - refstack_defcore @@ -93,3 +96,13 @@ validate_input: - 'cvp.0.4.0' - 'cvp.0.5.0' - 'cvp.0.6.0' + +mandatory: + - osinterop + - ha + - vping + +optional: + - ipv6 + - tempest + - sdnvpn -- cgit 1.2.3-korg