diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-18 19:30:22 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-03-18 19:30:22 +0100 |
commit | c74456f3ad8f9144f0e773de68b75b249e876d47 (patch) | |
tree | f1d2dcf2cf98d6a46fcc3cd52584d35128c86048 /api | |
parent | 13dcb640dbeb5bd07c80bb16ddc9aa6563cbca23 (diff) |
Update api/index.rst
It mainly copies the wiki main page [1].
[1] https://wiki.opnfv.org/display/functest/Xtesting
Change-Id: Iaedfa2bbf83976654a626640b38d8cc27131d3d4
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'api')
-rw-r--r-- | api/index.rst | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/api/index.rst b/api/index.rst index cc961041..0566edbc 100644 --- a/api/index.rst +++ b/api/index.rst @@ -1,7 +1,66 @@ Welcome to Xtesting's documentation! ==================================== +Xtesting have leveraged on Functest efforts to provide a reference testing +framework: + + * `Requirements Management + <https://wiki.opnfv.org/display/functest/Requirements+management>`_ + * `Docker Slicing <http://testresults.opnfv.org/functest/dockerslicing/>`_ + * `Functest Framework <http://testresults.opnfv.org/functest/framework/>`_ + +Xtesting aims at allowing a smooth integration of new Functest Kubernetes +testcases. + +But, more generally, it eases building any CI/CD toolchain for other +domains than testing Virtualized Infrastructure Managers (VIM) such as +`OpenStack <https://www.openstack.org/>`_. + +It now offers a possible reuse of our framework in other OpenSource projects +such as ONAP: `integration_demo_E2E_chain.pdf`_ + +.. _`integration_demo_E2E_chain.pdf`: https://wiki.onap.org/pages/viewpage.action?pageId=6593670&preview=%2F6593670%2F25433913%2Fintegration_demo_E2E_chain.pdf + +Technical guidelines +-------------------- + +* to support both python2 and python3 +* to be fully covered by unit tests +* to be well rated by pylint (only local exceptions are accepted on purpose) +* to be released as a `python package`_ and then to be unlinked to OPNFV + Milestones +* to provide `Docker containers`_ and manifests for both architectures + supported by OPNFV: amd64 and arm64 +* to publish the API documentation online + +.. _`python package`: https://pypi.python.org/pypi/xtesting/ +.. _`Docker containers`: https://hub.docker.com/r/opnfv/xtesting/ + +Try it! +------- + +* run xtesting container:: + + $ sudo docker run opnfv/xtesting + +* run xtesting via package (python2):: + + $ virtualenv xtesting-py2 + $ . xtesting-py2/bin/activate + $ pip install xtesting + $ sudo xtesting-py2/bin/run_tests -t all + $ deactivate + +* run xtesting via package (python3):: + + $ virtualenv xtesting-py3 -p python3 + $ . xtesting-py3/bin/activate + $ pip install xtesting + $ sudo xtesting-py3/bin/run_tests -t all + $ deactivate + Contents: +--------- .. toctree:: :maxdepth: 2 @@ -10,9 +69,8 @@ Contents: Indices and tables -================== +------------------ * :ref:`genindex` * :ref:`modindex` * :ref:`search` - |