summaryrefslogtreecommitdiffstats
path: root/docs/development
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2017-10-16 20:16:00 +0800
committerGerald Kunzmann <kunzmann@docomolab-euro.com>2017-10-19 06:44:31 +0000
commitbca7b0f906b3c325b76308f139aca72f190f9f37 (patch)
tree33612b7b1b3f739044201b52b6bf72797c766bd0 /docs/development
parentb42b9f7eaeaf3246c934187268d9b9e20b263935 (diff)
update the docs of testing
Change-Id: Ibfc04831f12778cb0cc3769781b864a56a581881 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn> (cherry picked from commit b8c169d1f7358645514f93f68b966f33c5af7e56)
Diffstat (limited to 'docs/development')
-rw-r--r--docs/development/overview/testing.rst14
1 files changed, 5 insertions, 9 deletions
diff --git a/docs/development/overview/testing.rst b/docs/development/overview/testing.rst
index 08a4d933..8d0e90e6 100644
--- a/docs/development/overview/testing.rst
+++ b/docs/development/overview/testing.rst
@@ -76,22 +76,18 @@ Functest container. You can run the Doctor test with the following steps:
.. code-block:: bash
DOCKER_TAG=latest
- docker pull opnfv/functest:${DOCKER_TAG}
+ docker pull docker.io/opnfv/functest-features:${DOCKER_TAG}
docker run --privileged=true -id \
-e INSTALLER_TYPE=${INSTALLER_TYPE} \
-e INSTALLER_IP=${INSTALLER_IP} \
-e INSPECTOR_TYPE=sample \
- -e PYTHON_ENABLE=True \
- opnfv/functest:${DOCKER_TAG} /bin/bash
- docker exec <container_id> python /home/opnfv/repos/functest/functest/ci/prepare_env.py start
- docker exec <container_id> functest testcase run doctor
-
-Add an environment variable *PYTHON_ENABLE* to indicate that using Python or
-Bash to run the test when start the docker container.
+ docker.io/opnfv/functest-features:${DOCKER_TAG} /bin/bash
+ docker exec <container_id> functest env prepare
+ docker exec <container_id> functest testcase run doctor-notification
See `Functest Userguide`_ for more information.
-.. _Functest Userguide: http://artifacts.opnfv.org/functest/docs/userguide/index.html
+.. _Functest Userguide: http://docs.opnfv.org/en/latest/submodules/functest/docs/testing/user/userguide/index.html
For testing with stable version, change DOCKER_TAG to 'stable' or other release
tag identifier.