libvirt/docs/testsuites.rst
Peter Krempa 688a2c0897 docs: Convert 'testsuites' page to rST
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-03-10 17:52:07 +01:00

1.5 KiB

Test suites

There is a few test suites available to developers for testing a given version of libvirt:

  • the internal test suite: present in the source code, it is run by developers before submitting patches upstream, it is also suggested to have it run and pass as part of the packaging process for distributions. It is run by launching:

    make check (libvirt 6.6.0 and older)
    ninja test (libvirt 6.7.0 and newer)

    in a source tree after compilation has finished. It doesn't really make functional testing but checks that large portions of the code not interacting directly with virtualization functions properly.

  • the TCK test suite is a functional test suite implemented using the Perl bindings of libvirt. It is available separately as a download, as a package in Fedora distributions, but best is probably to get the version from GIT.

  • the libvirt-test-API is also a functional test suite, but implemented using the Python bindings of libvirt. It is available separately as a download, or directly get the version from GIT.