From 976b99c1c8ed80210d37e418f630f9c64879cd63 Mon Sep 17 00:00:00 2001 From: Kristian Hunt Date: Mon, 7 Sep 2015 13:37:58 +0200 Subject: Add test suite functionality to task commands This patch proposes a more permanent solution to replace the already existing one (YARDSTICK-106). A test suite is a .yaml file which consists of multiple task files which are meant to run as a one set. Each test case in the test suite has to specify the location of the test .yaml task file and can specify additional task arguments or a task arguments file. It is possible to specify the directory where the task files are located in the suite file. If it is left unspecified then it defaults to tests/opnfv/test_cases according to https://etherpad.opnfv.org/p/yardstick_folders A Command line argument --suite is added to the task command. This argument indicates that the intention is to run a test suite. JIRA: YARDSTICK-107 Change-Id: I69508b3b536dd592b6240a2a32dd5d665e0ac4b4 Signed-off-by: Kristian Hunt --- tests/opnfv/test_suites/pod2_daily.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/opnfv/test_suites/pod2_daily.yaml (limited to 'tests/opnfv/test_suites/pod2_daily.yaml') diff --git a/tests/opnfv/test_suites/pod2_daily.yaml b/tests/opnfv/test_suites/pod2_daily.yaml new file mode 100644 index 000000000..15252bee8 --- /dev/null +++ b/tests/opnfv/test_suites/pod2_daily.yaml @@ -0,0 +1,10 @@ +--- +# LF POD 2 daily task suite + +schema: "yardstick:suite:0.1" + +name: "opnfv_pod2_daily" +test_cases_dir: "tests/opnfv/test_cases/" +test_cases: +- + file_name: opnfv_yardstick_tc002.yaml -- cgit 1.2.3-korg