From c74456f3ad8f9144f0e773de68b75b249e876d47 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 18 Mar 2018 19:30:22 +0100 Subject: Update api/index.rst MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- api/index.rst | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 60 insertions(+), 2 deletions(-) (limited to 'api') 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 + `_ + * `Docker Slicing `_ + * `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 `_. + +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` - -- cgit 1.2.3-korg