Merge "Add README.md"
tree: 46720bd0a9329519c485e596b50aa76a719d45a8
  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