blob: 0566edbc63dbc0de96d6d155d3a60580af67436f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
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
apidoc/modules
Indices and tables
------------------
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
|