Merge "Add custom tempest test."
authorHelen Yao <yaohelan@huawei.com>
Wed, 1 Mar 2017 07:17:58 +0000 (07:17 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Wed, 1 Mar 2017 07:17:58 +0000 (07:17 +0000)
1  2 
functest/ci/testcases.yaml

@@@ -7,15 -7,27 +7,15 @@@ tiers
              First tier to be executed to verify the basic
              operations in the VIM.
          testcases:
 -            -
 -                name: healthcheck
 -                criteria: 'status == "PASS"'
 -                blocking: true
 -                description: >-
 -                    This test case verifies the basic OpenStack services like
 -                    Keystone, Glance, Cinder, Neutron and Nova.
 -
 -                dependencies:
 -                    installer: ''
 -                    scenario: '^((?!lxd).)*$'
              -
                  name: snaps_health_check
                  criteria: 'status == "PASS"'
 -                blocking: false
 +                blocking: true
                  description: >-
                      This test case creates executes the SimpleHealthCheck
                      Python test class which creates an, image, flavor, network,
                      and Cirros VM instance and observes the console output to
                      validate the single port obtains the correct IP address.
 -
                  dependencies:
                      installer: ''
                      scenario: '^((?!lxd).)*$'
                  run:
                      module: 'functest.opnfv_tests.vnf.rnc.parser'
                      class: 'Parser'
 +            -
 +                name: domino
 +                criteria: 'status == "PASS"'
 +                blocking: false
 +                description: >-
 +                    Test suite from Domino project.
 +                dependencies:
 +                    installer: ''
 +                    scenario: ''
 +                run:
 +                    module: 'functest.opnfv_tests.features.domino'
 +                    class: 'Domino'
              -
                  name: orchestra
                  criteria: 'ret == 0'
                  run:
                      module: 'functest.opnfv_tests.openstack.tempest.tempest'
                      class: 'TempestDefcore'
+             -
+                 name: tempest_custom
+                 criteria: 'success_rate == 100%'
+                 blocking: false
+                 description: >-
+                     The test case allows running a customized list of tempest
+                     test cases defined in a file under
+                     <dir_functest_repo>/functest/opnfv_tests/openstack/
+                       /tempest/custom_tests/test_list.txt
+                     The file is empty and can be customized with the desired tests.
+                 dependencies:
+                     installer: 'unknown'
+                     scenario: 'unknown'
+                 run:
+                     module: 'functest.opnfv_tests.openstack.tempest.tempest'
+                     class: 'TempestCustom'
  #            -
  #                name: rally_full
  #                criteria: 'success_rate >= 90%'
                  run:
                      module: 'functest.opnfv_tests.vnf.ims.opera_ims'
                      class: 'ImsVnf'
 +
 +            -
 +                name: vyos_vrouter
 +                criteria: 'status == "PASS"'
 +                blocking: false
 +                description: >-
 +                    This test case is vRouter testing.
 +                dependencies:
 +                    installer: 'fuel'
 +                    scenario: 'nosdn-nofeature'
 +                run:
 +                    module: 'functest.opnfv_tests.vnf.router.vyos_vrouter'
 +                    class: 'VrouterVnf'