Update api/index.rst 55/54055/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Sun, 18 Mar 2018 18:30:22 +0000 (19:30 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sun, 18 Mar 2018 18:30:22 +0000 (19:30 +0100)
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>
api/index.rst

index cc96104..0566edb 100644 (file)
@@ -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`
-