Clone this repo:

Branches

  1. 285c11a Update to healthcheck to fetch robot files to slave vm by Akash Rajguru · 2 years, 8 months ago master
  2. 05ac9c8 Update to healthcheck_deployment.yaml.j2 by Akash Rajguru · 2 years, 8 months ago
  3. 8309354 Update for custom ONAP componants healthcheck test by Akash Rajguru · 2 years, 9 months ago
  4. c1fa951 Updated xtesting infra image tag to master by Akash Rajguru · 2 years, 10 months ago
  5. dfe2941 Update to use master image of xtesting by Akash Rajguru · 3 years, 1 month ago

xtesting-onap

Leverage xtesting framework to automatically test ONAP deployment. Currently following two testsuites are supported.

  • infra-healthcheck : This testsuite includes the test suites checking kubernetes and healm charts of an ONAP deployment.
  • healthcheck : This testsuite includes the test suites checking ONAP components.

Configuration

Mandatory:

  • The kubernetes configuration.
  • The Robot configuration file: this file is setup at ONAP installation in the configmap onap-robot-robot-eteshare-configmap. It includes lots of variables, end points, urls, passwords, logins, needed by the robot scripts. By default most of these data are set at ONAP installation.

Optional:

  • The local result directory path: to store the results in your local environement. It shall corresponds to the internal result docker path /var/lib/xtesting/results

commands

Execution :

$ git clone "https://gerrit.nordix.org/infra/test" ; cd test/test
$./test.sh  -s onap -b master -c onap-full-nofeature -f xtesting -t healthcheck/infra-healthcheck -i /tmp/inventory.ini

here :

 -s :   Stack to test.
 -b :   Stack version/branch
 -c :   Scenario to test
 -f :   Test framework
 -t :   Test Suite (healthcheck or infra-healthcheck)
 -i :    Ansible inventory file

Packaging:

git clone "https://gerrit.nordix.org/infra/test" ; cd test/test
./package.sh -s onap -b master

here:

-s : Test stack to package
-b : Test Stack version/branch