Anuket Project

How to find source code of test cases

For Dovetail test areas and test cases from Tempest, the links to them could be found by the following steps:

  1. For each Dovetail test area, identify the related Tempest source code package. Specifically,
    1. the test area "VIM Operations on Compute" corresponds to https://github.com/openstack/tempest/tree/12.2.0/tempest/api/compute
    2. the test area "VIM Operations on Network" corresponds to https://github.com/openstack/tempest/tree/12.2.0/tempest/api/network
    3. the test area "VIM Operations on Volume" corresponds to https://github.com/openstack/tempest/tree/12.2.0/tempest/api/volume
    4. the test area "VIM Operations on Image" corresponds to https://github.com/openstack/tempest/tree/12.2.0/tempest/api/image
    5. the test area "VIM Operations on Identity" corresponds to https://github.com/openstack/tempest/tree/12.2.0/tempest/api/identity
  2. For each test case in the above mentioned test areas, read its description and recognize the related modules in the Tempest package identified by the first step. For example, the links to the test case "Images member CRUD ops" in the test area "VIM Operations on Image" are as follows:
    1. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/image/v2/test_images_member.py
    2. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/image/v2/test_images_member_negative.py
    3. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/image/v1/test_image_members.py
    4. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/image/v1/test_image_members_negative.py

For other Dovetail test areas and test cases, the links to them are listed as follows:

  1. The source code for the test area "NFVI" mainly consists of three packages:
    1. the test case "vPing" corresponds to https://github.com/opnfv/functest/blob/colorado.1.0/testcases/OpenStack/vPing/vping.py
    2. the test cases named with prefix "OPNFV_YARDSTICK_" correspond to https://github.com/opnfv/yardstick/tree/colorado.1.0/tests/opnfv/test_cases
    3. the others correspond to https://github.com/openstack/tempest/tree/12.2.0/tempest/scenario
  2. The link to the test cases named with prefix "OPNFV_YARDSTICK_" in the test area "HA" is https://github.com/opnfv/yardstick/tree/colorado.1.0/tests/opnfv/test_cases
  3. The links to the test area "IPv6" are as follows:
    1. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/network/test_dhcp_ipv6.py
    2. https://github.com/openstack/tempest/blob/12.2.0/tempest/api/network/test_networks.py
    3. https://github.com/openstack/tempest/blob/12.2.0/tempest/scenario/test_network_v6.py
    4. https://github.com/opnfv/yardstick/blob/colorado.1.0/tests/opnfv/test_cases/opnfv_yardstick_tc027.yaml
  4. The link to the test area "VPN" is https://github.com/opnfv/sdnvpn/tree/colorado.1.0/test/functest
  5. The link to the test area "Doctor" is https://github.com/opnfv/doctor/blob/colorado.1.0/tests/run.sh
  6. The link to the test area "KVM" is https://github.com/opnfv/kvmfornfv/blob/colorado.1.0/tests/cyclictest.sh
  7. The link to the test area "Parser" is https://github.com/opnfv/parser/blob/colorado.1.0/tests/functest_run.sh
  8. The link to the test cases named with prefix "opnfv_yardstick_" in the test area "virtual Traffic classifier" is https://github.com/opnfv/yardstick/tree/colorado.1.0/tests/opnfv/test_cases
  9. The link to the test area "Copper" is https://github.com/opnfv/copper/tree/colorado.1.0/tests
  10. The link to the test area "Promise" is https://github.com/opnfv/promise/blob/colorado.1.0/source/test/promise-intents.coffee
  11. The link to the test area "Multisite" is https://github.com/openstack/kingbird/tree/0.2.1/kingbird/tests/tempest/scenario/quota_management/client_tests
  12. The links to the test area "ODL" are as follows:
    1. the test case "restconf modules" corresponds to https://github.com/opendaylight/integration-test/tree/release/beryllium-sr3/csit/suites/integration/basic
    2. the test cases "neutron networks/subnets/ports" correspond to https://github.com/opendaylight/integration-test/tree/release/beryllium-sr3/csit/suites/openstack/neutron
    3. the others correspond to https://github.com/opnfv/functest/tree/colorado.1.0/testcases/Controllers/ODL/custom_tests/neutron
  13. The link to the test area "ONOS" is https://github.com/wuwenbin2/OnosSystemTest/tree/master/TestON/tests
  14. The link to the test area "Open source VNF running on NFVI" is https://github.com/opnfv/functest/blob/colorado.1.0/testcases/vnf/vIMS/vIMS.py