From a42de79292d9541db7865b54e93be2d0b6e6a094 Mon Sep 17 00:00:00 2001 From: "serena.spinoso" Date: Thu, 7 Sep 2017 10:22:39 +0200 Subject: update verigraph JIRA: PARSER-154 code optimizations about graph manipulation and formula generation. Change-Id: Idebef19b128281aa2bc40d1aeab6e208c7ddd93d Signed-off-by: serena.spinoso --- docs/testing/testusage.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'docs/testing') 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 -- cgit 1.2.3-korg