docs/devel/testing: Add documentation for functional tests

Document the new functional testing framework. The text is originally
based on the Avocado documentation, but heavily modified to match the
new framework.

Message-ID: <20240830133841.142644-45-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
Thomas Huth 2024-08-30 15:38:38 +02:00
parent 0abdd97084
commit c3e24cff2b
3 changed files with 351 additions and 0 deletions

View file

@ -862,6 +862,18 @@ supported. To start the fuzzer, run
Alternatively, some command different from ``qemu-img info`` can be tested, by
changing the ``-c`` option.
Functional tests using Python
-----------------------------
The ``tests/functional`` directory hosts functional tests written in
Python. You can run the functional tests simply by executing:
.. code::
make check-functional
See :ref:`checkfunctional-ref` for more details.
Integration tests using the Avocado Framework
---------------------------------------------