summaryrefslogtreecommitdiffstats
path: root/docs/testing/testusage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/testing/testusage.rst')
-rw-r--r--docs/testing/testusage.rst54
1 files changed, 54 insertions, 0 deletions
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
+