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