Update documentation of Functest 05/48005/1
authorLinda Wang <wangwulin@huawei.com>
Wed, 29 Nov 2017 09:29:24 +0000 (09:29 +0000)
committerLinda Wang <wangwulin@huawei.com>
Wed, 29 Nov 2017 09:29:24 +0000 (09:29 +0000)
Mainly update the robotframework part, according to this patch:
https://gerrit.opnfv.org/gerrit/#/c/47841/

Change-Id: If4dee6233ba65dd83734e0465d0dc6e8d5753da3
Signed-off-by: Linda Wang <wangwulin@huawei.com>
docs/testing/developer/devguide/index.rst
docs/testing/user/configguide/configguide.rst
docs/testing/user/userguide/troubleshooting.rst

index 12325c6..11d541a 100644 (file)
@@ -134,7 +134,7 @@ The external test cases are:
  * functest-odl-sfc
  * orchestra_clearwaterims
  * orchestra_openims
- * cloudify_vrouter
+ * vyos_vrouter
  * juju_vepc
 
 External test cases integrated in previous versions but not released in
@@ -148,7 +148,7 @@ Euphrates:
 
 The code to run these test cases is hosted in the repository of the project.
 Please note that orchestra test cases are hosted in Functest repository and not
-in orchestra repository. Cloudify_vrouter and juju_vepc code is also hosted in
+in orchestra repository. Vyos_vrouter and juju_vepc code is also hosted in
 functest as there are no dedicated projects.
 
 
@@ -190,28 +190,28 @@ The goal is to unify the way to run tests in Functest.
 
 Feature, unit and vnf_base inherit from testcase::
 
-              +-----------------------------------------+
-              |                                         |
-              |         TestCase                        |
-              |                                         |
-              |         - init()                        |
-              |         - run()                         |
-              |         - push_to_db()                  |
-              |         - is_successful()               |
-              |                                         |
-              +-----------------------------------------+
-                 |               |                   |
-                 V               V                   V
-  +--------------------+   +--------------+   +--------------------------+
-  |                    |   |              |   |                          |
-  |    feature         |   |    unit      |   |      vnf                 |
-  |                    |   |              |   |                          |
-  |                    |   |              |   |  - prepare()             |
-  |  - execute()       |   |              |   |  - deploy_orchestrator() |
-  | BashFeature class  |   |              |   |  - deploy_vnf()          |
-  |                    |   |              |   |  - test_vnf()            |
-  |                    |   |              |   |  - clean()               |
-  +--------------------+   +--------------+   +--------------------------+
+              +----------------------------------------------------------------+
+              |                                                                |
+              |                   TestCase                                     |
+              |                                                                |
+              |                   - init()                                     |
+              |                   - run()                                      |
+              |                   - push_to_db()                               |
+              |                   - is_successful()                            |
+              |                                                                |
+              +----------------------------------------------------------------+
+                 |             |                 |                           |
+                 V             V                 V                           V
+  +--------------------+   +---------+   +------------------------+   +-----------------+
+  |                    |   |         |   |                        |   |                 |
+  |    feature         |   |  unit   |   |    vnf                 |   | robotframework  |
+  |                    |   |         |   |                        |   |                 |
+  |                    |   |         |   |- prepare()             |   |                 |
+  |  - execute()       |   |         |   |- deploy_orchestrator() |   |                 |
+  | BashFeature class  |   |         |   |- deploy_vnf()          |   |                 |
+  |                    |   |         |   |- test_vnf()            |   |                 |
+  |                    |   |         |   |- clean()               |   |                 |
+  +--------------------+   +---------+   +------------------------+   +-----------------+
 
 
 Testcase
@@ -234,6 +234,11 @@ VNF
 .. raw:: html
    :url: http://artifacts.opnfv.org/functest/docs/apidoc/functest.core.vnf.html
 
+Robotframework
+--------------
+.. raw:: html
+   :url: http://artifacts.opnfv.org/functest/docs/apidoc/functest.core.robotframework.html
+
 
 see `[5]`_ to get code samples
 
index f455d18..6bc1b5e 100644 (file)
@@ -423,6 +423,7 @@ The structure of functest repo can be described as follows::
     │   |-- functest-complete.sh
     |-- core
     │   |-- feature.py
+    │   |-- robotframework.py
     │   |-- testcase.py
     │   |-- unit.py
     │   |-- vnf.py
index 62587de..becc24a 100644 (file)
@@ -375,4 +375,4 @@ described in the following table:
 Please note that this test case requires resources (8 VM (2Go) + 1 VM (4Go)), it
 is there fore not recommended to run it on a light configuration.
 
-.. _`OPNFV Functest Developer Guide`:  http://artifacts.opnfv.org/functest/docs/devguide/#
+.. _`OPNFV Functest Developer Guide`:  http://artifacts.opnfv.org/functest/docs/testing_developer_devguide/index.html#