diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-08-18 21:14:39 +0800 |
---|---|---|
committer | shangxdy <shang.xiaodong@zte.com.cn> | 2016-08-20 00:12:32 +0800 |
commit | 6fecb729f550f4f543739375df8148ab9de38668 (patch) | |
tree | 996dcba33a4d323541b917186235db77cbf35b94 /docs/userguide/testusage.rst | |
parent | 951b5b7e58eed31bc44d55c0b541f1383953b3d8 (diff) |
Update the documents in Release C
As a developer;
I want anybody who cares of project of parser to know what new features
in release C;
So i update the distribution documents.
JIRA:PRASER-87
Change-Id: I0537ba55fa12daa2975f1b794908bca457cfd9c2
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'docs/userguide/testusage.rst')
-rw-r--r-- | docs/userguide/testusage.rst | 54 |
1 files changed, 48 insertions, 6 deletions
diff --git a/docs/userguide/testusage.rst b/docs/userguide/testusage.rst index 9f9bdc9..35dacae 100644 --- a/docs/userguide/testusage.rst +++ b/docs/userguide/testusage.rst @@ -2,11 +2,53 @@ .. http://creativecommons.org/licenses/by/4.0 .. (c) <optionally add copywriters name> -<Testing> capabilities and usage -================================ -Describe the specific capabilities and usage for <XYZ> testing. +Test use tox +=========================== +1. run tox in tosca-parser sub project -<Testing usage guidelines and example> --------------------------------------- -Describe with examples how to use specfic test frameworks. +.. 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 |