diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2017-09-28 03:47:54 -0400 |
---|---|---|
committer | grakiss <grakiss.wanglei@huawei.com> | 2017-09-28 05:15:01 -0400 |
commit | 0cf6b232ac9cf128ee9183a27c08f4f74ab2e2e6 (patch) | |
tree | 7be233b8f8f65fa968c7b93f1d1e75b691952ed9 /cvp/README.rst | |
parent | 63c2e2aa4b8d86349a767f611123ceafc19fa6d6 (diff) |
add api&web services for cvp
JIRA: DOVETAIL-512
add api&web services for cvp
Change-Id: I9ef9525e980fe61dc3108035ef9a3ff8783b2697
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
Diffstat (limited to 'cvp/README.rst')
-rw-r--r-- | cvp/README.rst | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/cvp/README.rst b/cvp/README.rst new file mode 100644 index 00000000..44ab2a47 --- /dev/null +++ b/cvp/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 + |