Documents up-to-date
[doctor.git] / docs / testing / user / testing.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3
4 Run Functest Suite (obsolete)
5 =============================
6
7 Functest supports Doctor testing by triggering the test script above in a
8 Functest container. You can run the Doctor test with the following steps:
9
10 .. code-block:: bash
11
12     DOCKER_TAG=latest
13     docker pull docker.io/opnfv/functest-features:${DOCKER_TAG}
14     docker run --privileged=true -id \
15         -e INSTALLER_TYPE=${INSTALLER_TYPE} \
16         -e INSTALLER_IP=${INSTALLER_IP} \
17         -e INSPECTOR_TYPE=sample \
18         docker.io/opnfv/functest-features:${DOCKER_TAG} /bin/bash
19     docker exec <container_id> functest testcase run doctor-notification
20
21 See `Functest Userguide`_ for more information.
22
23 .. _Functest Userguide: :doc:`<functest:testing/user/userguide>`
24
25
26 For testing with stable version, change DOCKER_TAG to 'stable' or other release
27 tag identifier.
28
29 Tips
30 ====