diff options
author | 2017-09-12 14:47:37 +0000 | |
---|---|---|
committer | 2017-09-12 14:47:37 +0000 | |
commit | 8153ff1bac0ec3664c777302396698e4fb5f34b9 (patch) | |
tree | 2b97892774e3ced5f0c10e400657d28f9222749b /docs/testing | |
parent | 96de9387460091e7cf0dc5fde1afaa637a8b2b79 (diff) | |
parent | a42de79292d9541db7865b54e93be2d0b6e6a094 (diff) |
Merge "update verigraph"
Diffstat (limited to 'docs/testing')
-rw-r--r-- | docs/testing/testusage.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/testing/testusage.rst b/docs/testing/testusage.rst index 36b9c00..7bc9b12 100644 --- a/docs/testing/testusage.rst +++ b/docs/testing/testusage.rst @@ -58,6 +58,11 @@ Parser VeriGraph test usage VeriGraph is accessible via both a RESTfull API and a gRPC interface. **RESTful API** +In order to run the automatic testing script, you need the +following dependencies installed on your python distribution: + +- "requests" python package -> http://docs.python-requests.org/en/master/ +- "jsonschema" python package -> https://pypi.python.org/pypi/jsonschema 1. Run the Python tester @@ -66,6 +71,20 @@ VeriGraph is accessible via both a RESTfull API and a gRPC interface. cd parser/verigraph/tester python test.py +2. Run many times (i.e. n-times) each test-case with ant script + +.. code-block:: bash + + cd parser/verigraph + ant -f build.xml run-test -Diteration=n + +2. Run many times (i.e. n-times) each test-case by command line + +.. code-block:: bash + + cd parser/verigraph + python test.py -iteration n + **gRPC API** 1. Compile the code |