summaryrefslogtreecommitdiffstats
path: root/docs/testing
diff options
context:
space:
mode:
authorjulien zhang <zhang.jun3g@zte.com.cn>2017-02-28 07:24:24 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-02-28 07:24:24 +0000
commit9a2b86ff190a16822ec3f68b2c1d070d54a47da9 (patch)
tree7315aac40f9aed6c91f83429791f591b74e79cb3 /docs/testing
parent69e33063b3703ae4529b556b63b3c4cc239c3d9a (diff)
parente243c1f9c40c5acee4fb89d99fae05f7a46768be (diff)
Merge "Release D doc update"
Diffstat (limited to 'docs/testing')
-rw-r--r--docs/testing/index.rst14
-rw-r--r--docs/testing/testusage.rst54
2 files changed, 68 insertions, 0 deletions
diff --git a/docs/testing/index.rst b/docs/testing/index.rst
new file mode 100644
index 0000000..99c2cfd
--- /dev/null
+++ b/docs/testing/index.rst
@@ -0,0 +1,14 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International
+.. License.
+.. http://creativecommons.org/licenses/by/4.0
+
+
+=============================================
+OPNFV Parser Danube Overview
+=============================================
+
+
+.. toctree::
+ :maxdepth: 1
+
+ testusage
diff --git a/docs/testing/testusage.rst b/docs/testing/testusage.rst
new file mode 100644
index 0000000..405d6bd
--- /dev/null
+++ b/docs/testing/testusage.rst
@@ -0,0 +1,54 @@
+.. This work is licensed under a Creative Commons Attribution 4.0 International License.
+.. http://creativecommons.org/licenses/by/4.0
+
+
+Parser tosca2heat test usage
+===========================
+1. run tox in tosca-parser sub project
+
+.. code-block:: bash
+
+ # change directory to tosca-parser
+ cd parser/tosca2heat/tosca-parser
+
+ # run with pep8
+ tox -epep8
+
+ # run unit test
+ tox -epy27
+
+or
+
+.. code-block:: bash
+
+ # change directory to tosca-parser
+ cd parser/tosca2heat/tosca-parser
+
+ # run tox
+ tox
+
+
+2. run tox in heat-translator sub project
+
+.. code-block:: bash
+
+ # change directory to heat-translator
+ cd parser/tosca2heat/heat-translator
+
+ # run with pep8
+ tox -epep8
+
+ # run unit test
+ tox -epy27
+ tox -epy34
+
+or
+
+.. code-block:: bash
+
+ # change directory to heat-translator
+ cd parser/tosca2heat/heat-translator
+
+ # run tox
+ tox
+