<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- This file is autogenerated from testapi.html.in Do not edit this file. Changes will be lost. --> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <link rel="stylesheet" type="text/css" href="main.css" /> <link rel="SHORTCUT ICON" href="32favicon.png" /> <title>libvirt: libvirt-test-API: Python based test suite </title> <meta name="description" content="libvirt, virtualization, virtualization API" /> </head> <body> <div id="header"> <div id="headerLogo"></div> <div id="headerSearch"> <form action="search.php" enctype="application/x-www-form-urlencoded" method="get"><div> <input id="query" name="query" type="text" size="12" value="" /> <input id="submit" name="submit" type="submit" value="Search" /> </div></form> </div> </div> <div id="body"> <div id="menu"> <ul class="l0"><li> <div> <a title="Front page of the libvirt website" class="inactive" href="index.html">Home</a> </div> </li><li> <div> <a title="Details of new features and bugs fixed in each release" class="inactive" href="news.html">News</a> </div> </li><li> <div> <a title="Applications known to use libvirt" class="inactive" href="apps.html">Applications</a> </div> </li><li> <div> <a title="Get the latest source releases, binary builds and get access to the source repository" class="inactive" href="downloads.html">Downloads</a> </div> </li><li> <div> <a title="Information for users, administrators and developers" class="inactive" href="docs.html">Documentation</a> </div> </li><li> <div> <a title="User contributed content" class="inactive" href="http://wiki.libvirt.org">Wiki</a> </div> </li><li> <div> <a title="Frequently asked questions" class="inactive" href="http://wiki.libvirt.org/page/FAQ">FAQ</a> </div> </li><li> <div> <a title="How and where to report bugs and request features" class="inactive" href="bugs.html">Bug reports</a> </div> </li><li> <div> <a title="How to contact the developers via email and IRC" class="inactive" href="contact.html">Contact</a> </div> </li><li> <div> <a title="Available test suites for libvirt" class="active" href="testsuites.html">Test suites</a> <ul class="l1"><li> <div> <a title="Virtualization functional test suite in Perl" class="inactive" href="testtck.html">TCK test suite</a> </div> </li><li> <div> <span class="active">Libvirt-test-API</span> </div> </li></ul> </div> </li><li> <div> <a title="Miscellaneous links of interest related to libvirt" class="inactive" href="relatedlinks.html">Related Links</a> </div> </li><li> <div> <a title="Overview of all content on the website" class="inactive" href="sitemap.html">Sitemap</a> </div> </li></ul> </div> <div id="content"> <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><li> A <a href="http://libvirt.org/sources/libvirt-test-API/Libvirt-test-API.pdf">documentation PDF</a> file describing the test suite and how to write test cases and test scenarios. </li></ul> <p> Libvirt-test-API is maintained using <a href="http://libvirt.org/git/?p=libvirt-test-API.git">a GIT repository</a>, and comment, patches and reviews are carried on the <a href="contact.html">libvir-list</a> development list.</p> </div> </div> <div id="footer"> <p id="sponsor"> Sponsored by:<br /><a href="http://et.redhat.com/"><img src="et.png" alt="Project sponsored by Red Hat Emerging Technology" /></a></p> </div> </body> </html>