47f37f1748fc5b5c000622afcf4de98d3f5b4f75
[parser.git] / docs / userguide / testusage.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. (c) <optionally add copywriters name>
4
5 Parser tosca2heat test usage
6 ===========================
7 1. run tox in tosca-parser sub project
8
9 .. code-block:: bash
10
11     # change directory to tosca-parser
12     cd parser/tosca2heat/tosca-parser
13
14     # run with pep8
15     tox -epep8
16
17     # run unit test
18     tox -epy27
19
20 or
21
22 .. code-block:: bash
23
24     # change directory to tosca-parser
25     cd parser/tosca2heat/tosca-parser
26
27     # run tox
28     tox
29
30
31 2. run tox in heat-translator sub project
32
33 .. code-block:: bash
34
35     # change directory to heat-translator
36     cd parser/tosca2heat/heat-translator
37
38     # run with pep8
39     tox -epep8
40
41     # run unit test
42     tox -epy27
43     tox -epy34
44
45 or
46
47 .. code-block:: bash
48
49     # change directory to heat-translator
50     cd parser/tosca2heat/heat-translator
51
52     # run tox
53     tox
54