1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
5 Parser tosca2heat test usage
6 ============================
7 1. run tox in tosca-parser sub project
11 # change directory to tosca-parser
12 cd parser/tosca2heat/tosca-parser
24 # change directory to tosca-parser
25 cd parser/tosca2heat/tosca-parser
31 2. run tox in heat-translator sub project
35 # change directory to heat-translator
36 cd parser/tosca2heat/heat-translator
49 # change directory to heat-translator
50 cd parser/tosca2heat/heat-translator
55 Parser VeriGraph test usage
56 ===========================
58 VeriGraph is accessible via both a RESTfull API and a gRPC interface.
61 In order to run the automatic testing script, you need the
62 following dependencies installed on your python distribution:
64 - "requests" python package -> http://docs.python-requests.org/en/master/
65 - "jsonschema" python package -> https://pypi.python.org/pypi/jsonschema
67 1. Run the Python tester
71 cd parser/verigraph/tester
74 2. Run many times (i.e. n-times) each test-case with ant script
79 ant -f build.xml run-test -Diteration=n
81 2. Run many times (i.e. n-times) each test-case by command line
86 python test.py -iteration n
95 ant -f buildVeriGraph_gRPC.xml build
97 2. Run both client and server
102 ant -f buildVeriGraph_gRPC.xml run
104 3. Run only the testing client
109 ant -f buildVeriGraph_gRPC.xml run-client
111 4. Run only the gRPC server
116 ant -f buildVeriGraph_gRPC.xml run-server
118 5. Run all tests and print out the partial results and global result
123 # This target has the needed dependencies to compile the code
124 # and run both client and server
125 ant -f buildVeriGraph_gRPC.xml run-test
127 Note that the execution of these tests may take up to 1-2 minutes when successful.