aboutsummaryrefslogtreecommitdiff
path: root/doc/schema-test-suite.rst
blob: 64b38c9c53f72f3f4e65cdc78b74445111125989 (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
.. _schema_test_suite:

test_suite
----------

A test suite is the collection of :ref:`test sets <schema_test_set>` and :ref:`test cases <schema_test_case>`.

A test suite must define its own ``name`` and must be associated with a :ref:`lab <schema_lab>` and with a :ref:`built defconfig <schema_defconfig>`. The association with the ``defconfig`` object is performed through the ``defconfig_id`` value, the lab association via the lab ``name`` value.

.. _schema_test_suite_get:

GET
***

.. literalinclude:: schema/1.0/test_suite_get.json
    :language: json

Notes
+++++

* ``test_set``, ``test_case``: By default, the API will provide the IDs of the ``test_set`` and ``test_case`` objects. To expand the selection in order to include the actual objects, please refer to the ``test`` resource query arguments.

.. _schema_test_suite_post:

POST
****

.. literalinclude:: schema/1.0/test_suite_post.json
    :language: json

Notes
+++++

* ``test_set``: If not specified, the test set executed must be registered using the appropiate API call.

* ``test_case``: If not specified, the test case executed must be registered using the appropriate API call.

More Info
*********

* :ref:`Test set schema <schema_test_set>`
* :ref:`Test case schema <schema_test_case>`
* :ref:`Defconfig schema <schema_defconfig>`
* :ref:`Lab schema <schema_lab>`
* :ref:`API results <intro_schema_results>`
* :ref:`Schema time and date <intro_schema_time_date>`