...
As we are leveraging the xtesting framework, the results will be managed consistantly whatever the test framework used (robot, python, bash,..) and optionnaly it is possible to push the results in http://testresults.opnfv.org
We may distinguish 2 big families
1) the tests run with docker from outside the clusteryou need ONAP + the kube config
3 categories are run from outside the cluster:
...
- 10003/onap/xtesting-smoke-usecases-pythonsdk
- nexus3.onap.org:
...
- 10003/onap/xtesting-infra-healthcheck
- nexus3.onap.org:
...
- 10003/onap/xtesting-security
The command is indicated in the README of the associated directory in These tests will be run through a docker run command with the needed volumes associated to the different tests. As an example infrastructure tests will need the kube config file, the pyhtonsdk tests will require the openstack project credentials..
Each docker includes a README file detailing the mandatory and optional options.
Docker | README link |
---|---|
xtesting-infra-healthcheck | https:// |
...
...
...
...
...
docker run -v <kube config>/root/.kube/config -v <result directory>:/var/lib/xtesting/results nexus3.onap.org:10001/onap/xtesting-infra-healthcheck:latest
...
md | |
xtesting-smoke-usecases-pythonsdk | https://github.com/onap/integration-xtesting/tree/master/smoke-usecases-pythonsdk |
xtesting-security | https://github.com/onap/integration-xtesting/blob/master/security/README.md |
2) the tests run from inside the cluster
Some tests (the historical robot tests) are run from inside the cluser thanks to a kubernetes job
...
- 10003/onap/xtesting-
...
- healthcheck
- nexus3.onap.org:
...
- 10003/onap/xtesting-smoke-
...
- usecases-robot
This job triggers a pod executing the robot tests. The configuration is provided by the testuise configmap but the testsuite pod is not needed.
Please read the different README associated with the docker to get the mandatory/optional parameters to be adapted.
Docker | README link |
---|---|
xtesting-healthcheck | https:// |
...
...
...
-smoke-usecases-robot | https://github.com/onap/integration-xtesting/blob/master/smoke-usecases-robot/README.md |