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.rst19
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