diff options
author | 2018-04-22 01:25:51 +0200 | |
---|---|---|
committer | 2018-05-15 08:47:41 +0000 | |
commit | f652cf382c5636002ad2c3fe3e6d034a81ae42bc (patch) | |
tree | d423badfb0bbc862987ee613548361411cafa6ee /etc/testcase/tempest.image.yml | |
parent | c888cc9dfde02983733e2a137f2950d3bbfe7386 (diff) |
Renaming test cases for better readability
This patchset proposes a new naming scheme for test cases. The ides is
to replace the current numbered scheme
<testarea>.tc<number>
with:
<testarea>.<capability/test case description>
The motivation for this is that a the numbering does not convey any
information about what the test case is doing and hides to which test
case implementation in Functest or Yardstick a test case spec refers.
Note: this patchset has not yet been tested in Dovetail itself. Its goal
is start a discussion about the naming scheme.
JIRA: DOVETAIL-647
Change-Id: If33b4bf88e451b372c2af10895ff92a87d9d961d
Signed-off-by: Georg Kunz <georg.kunz@ericsson.com>
Diffstat (limited to 'etc/testcase/tempest.image.yml')
-rw-r--r-- | etc/testcase/tempest.image.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/etc/testcase/tempest.image.yml b/etc/testcase/tempest.image.yml new file mode 100644 index 00000000..6ab0af2e --- /dev/null +++ b/etc/testcase/tempest.image.yml @@ -0,0 +1,16 @@ +--- +dovetail.tempest.image: + name: dovetail.tempest.image + objective: tempest smoke test cases about image + validate: + type: functest + testcase: tempest_custom + pre_condition: + - 'cp /home/opnfv/userconfig/pre_config/tempest_conf.yaml /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/tempest_conf.yaml' + - 'cp /home/opnfv/userconfig/pre_config/testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml' + pre_copy: + src_file: tempest_custom.txt + dest_path: /usr/lib/python2.7/site-packages/functest/opnfv_tests/openstack/tempest/custom_tests/test_list.txt + report: + sub_testcase_list: + - tempest.api.image.v2.test_images.BasicOperationsImagesTest.test_register_upload_get_image_file[id-139b765e-7f3d-4b3d-8b37-3ca3876ee318,smoke] |