summaryrefslogtreecommitdiffstats
path: root/dovetail/testcase
diff options
context:
space:
mode:
authorMatthewLi <matthew.lijun@huawei.com>2017-04-10 23:15:39 -0400
committerMatthewLi <matthew.lijun@huawei.com>2017-04-10 23:24:53 -0400
commita7b6447955d16ef73189d31ed8fb7442f11091be (patch)
tree7c1a76d5c9269acc4e0ce00bc8fed5f5b164385f /dovetail/testcase
parent002d7cb256e4f0753f4b738d7f3d2a7872704314 (diff)
refstack: add manually method to let user can set its tempest.conf and defcore.txt
JIRA: DOVETAIL-394 for refstack, userguide is listed in https://gerrit.opnfv.org/gerrit/#/c/33049/ in CI, use the automate way to generate tempest.conf to let refstack run against SUT, i.e., defcore.tc001.yml will provide a way to let user can let refstack run against SUT manually, i.e. defcore.tc002.yml since the tempest.conf autometely generated may not satisfied with SUT, users can adjust its tempest.conf to let the defcore testcases pass. Change-Id: I5ed212c9c6d864d352d1c497ea039cc553461158 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
Diffstat (limited to 'dovetail/testcase')
-rw-r--r--dovetail/testcase/defcore.tc002.yml18
1 files changed, 18 insertions, 0 deletions
diff --git a/dovetail/testcase/defcore.tc002.yml b/dovetail/testcase/defcore.tc002.yml
new file mode 100644
index 00000000..a8fc3d95
--- /dev/null
+++ b/dovetail/testcase/defcore.tc002.yml
@@ -0,0 +1,18 @@
+---
+dovetail.defcore.tc002:
+ name: dovetail.defcore.tc002
+ objective: > # Set of DefCore tempest test cases not flagged and required. It only contains OpenStack core (no object storage)
+ # The approved guidelines (2016.08) are valid for Kilo, Liberty, Mitaka and Newton releases of OpenStack
+ # The list can be generated using the Rest API from RefStack project:
+ # https://refstack.openstack.org/api/v1/guidelines/2016.08/tests?target=compute&type=required&alias=true&flag=false
+ validate:
+ type: functest
+ testcase: refstack_defcore
+ pre_condition:
+ - 'echo test for precondition in testcase'
+ cmds:
+ - 'cd /home/opnfv/repos/refstack-client; source .venv/bin/activate; ./refstack-client test -c /home/opnfv/userconfig/tempest.conf -v --test-list /home/opnfv/userconfig/defcore.txt'
+ post_condition:
+ - 'echo test for postcondition in testcase'
+ report:
+ sub_testcase_list: