2013-05-03 22:25:37 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2017-07-27 01:01:25 +08:00
|
|
|
<!DOCTYPE html>
|
2013-05-03 22:25:37 +08:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
2011-05-11 19:18:38 +08:00
|
|
|
<body>
|
|
|
|
<h1>libvirt-test-API: Python based test suite </h1>
|
|
|
|
<p>Libvirt-test-API is a powerful test tool designed to complement
|
|
|
|
existing libvirt test tools such as libvirt-TCK and the internal
|
|
|
|
test suite. It aims at functional regression testing, trying to
|
|
|
|
exercise nearly all the API by the way of the Python bindings.</p>
|
|
|
|
<p>The test API currently covers:</p>
|
|
|
|
<ul>
|
|
|
|
<li>domain: all classical lifetime operations, installation of
|
|
|
|
various guests OSes, snapshots</li>
|
|
|
|
<li>interfaces: define, create, destroy, undefine, NPIV</li>
|
|
|
|
<li>virtual networks: define, create, destroy, undefine</li>
|
|
|
|
<li>storage: regression tests for most storage types and configurations
|
|
|
|
dir, disk, netfs, iSCSI, multipath</li>
|
|
|
|
</ul>
|
|
|
|
<p>Some of the tests need dedicated local resources whose definitions
|
|
|
|
are stored in a configuration file. The tests are defined using
|
|
|
|
Python modules defining the code for the test, this is called
|
|
|
|
a <tt>test case</tt>, and test <tt>configuration files</tt> using one
|
|
|
|
or more test case to define a given test scenario.</p>
|
|
|
|
<p>For more details you can look at:</p>
|
|
|
|
<ul>
|
2017-10-13 23:30:41 +08:00
|
|
|
<li> A <a href="https://libvirt.org/sources/libvirt-test-API/Libvirt-test-API.pdf">documentation PDF</a>
|
2011-05-11 19:18:38 +08:00
|
|
|
file describing the test suite and how to write test cases
|
2013-05-03 22:25:37 +08:00
|
|
|
and test scenarios.</li>
|
2011-05-11 19:18:38 +08:00
|
|
|
</ul>
|
|
|
|
<p> Libvirt-test-API is maintained using
|
2017-10-13 23:30:41 +08:00
|
|
|
<a href="https://libvirt.org/git/?p=libvirt-test-API.git">a GIT
|
2011-05-11 19:18:38 +08:00
|
|
|
repository</a>, and comment, patches and reviews are carried
|
|
|
|
on the <a href="contact.html">libvir-list</a> development list.</p>
|
|
|
|
</body>
|
|
|
|
</html>
|