diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-10-18 17:30:31 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-10-18 17:30:31 +0800 |
commit | d30f7afdd2d39302174a788e9e008feb61b25596 (patch) | |
tree | eed10dd17021d0f4ee87fb90089dab6eed5b5071 /utils/test/testapi/README.rst | |
parent | 307a8f07e8c17800ed1214394a3aacf02045a03a (diff) |
rename result_collection_api to testapi
Change-Id: Iec4e3db23cd44f30831e17c127eda74e9d9b5d14
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/testapi/README.rst')
-rw-r--r-- | utils/test/testapi/README.rst | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/utils/test/testapi/README.rst b/utils/test/testapi/README.rst new file mode 100644 index 000000000..44ab2a475 --- /dev/null +++ b/utils/test/testapi/README.rst @@ -0,0 +1,64 @@ +============= +opnfv-testapi +============= + +Test Results Collector of OPNFV Test Projects + +Start Server +============== + +Getting setup +^^^^^^^^^^^^^ + +Requirements for opnfv-testapi: + +* tornado +* epydoc + +These requirements are expressed in the requirements.txt file and may be +installed by running the following (from within a virtual environment):: + + pip install -r requirements.txt + +How to install +^^^^^^^^^^^^^^ + +From within your environment, just run: + + ./install.sh + +How to run +^^^^^^^^^^ + +From within your environment, just run: + + opnfv-testapi + +This will start a server on port 8000. Just visit http://localhost:8000 + +For swagger website, just visit http://localhost:8000/swagger/spec.html + +Unittest +===================== + +Getting setup +^^^^^^^^^^^^^ + +Requirements for unittest: + +* testtools +* discover +* futures + +These requirements are expressed in the test-requirements.txt file and may be +installed by running the following (from within a virtual environment):: + + pip install -r test-requirements.txt + +How to run +^^^^^^^^^^ + +From within your environment, just run:: + + bash run_test.sh + |