Updated xtesting infra image tag to master
  * infra-healthcheck pined to onap-k8s

Change-Id: If6652790e8fb6d6c893048ff2215cbb54f945b89
2 files changed
tree: 5761d56f57ea3d7a9053167514f17ab00e1f08fb
  1. playbooks/
  2. vars/
  3. .gitignore
  4. .gitreview
  5. .yamllint
  6. package.sh
  7. README.md
  8. requirements.txt
  9. setup.cfg
  10. setup.py
  11. test-requirements.txt
  12. test.sh
  13. tox.ini
README.md

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