[libvirt PATCH 0/4] RFC: tests: introduce lavocado

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



lavocado aims to be an alternative test framework for the libvirt
project using Python, python-libvirt and Avocado. This can be used to
write unit, functional and integration tests and it is inspired by the
libvirt-tck framework.

This series introduces the basic framework along with some basic test
examples that I got from libvirt-tck. I would appreciate your comments
on this RFC, to see if this fits this project's needs. Also, names and
locations are just a proposal and can be changed.

For now, this framework assumes that you are going to run the tests in a
fresh clean environment, i.e. a VM. If you decide to use your local
system, beware that execution of the tests may affect your system.

One of the future goals of this framework is to utilize nested
virtualization technologies and hence make sure an L1 guest is
provisioned automatically for the tests to be executed in this
environment and not tamper with your main system.

I'm adding more information with some details inside the README file.

Beraldo Leal (4):
  tests: introduce lavocado: initial code structure
  tests.lavocado: adding basic transient domain tests
  tests.lavocado: adding a .gitignore
  tests.lavocado: adding a README and Makefile for convenience

 tests/lavocado/.gitignore                   |   3 +
 tests/lavocado/Makefile                     |   2 +
 tests/lavocado/README.md                    | 124 +++++++++++++++++
 tests/lavocado/lavocado/__init__.py         |   0
 tests/lavocado/lavocado/defaults.py         |  11 ++
 tests/lavocado/lavocado/exceptions.py       |  20 +++
 tests/lavocado/lavocado/helpers/__init__.py |   0
 tests/lavocado/lavocado/helpers/domains.py  |  75 ++++++++++
 tests/lavocado/lavocado/test.py             | 144 ++++++++++++++++++++
 tests/lavocado/requirements.txt             |   3 +
 tests/lavocado/templates/domain.xml.jinja   |  20 +++
 tests/lavocado/tests/domain/transient.py    | 102 ++++++++++++++
 12 files changed, 504 insertions(+)
 create mode 100644 tests/lavocado/.gitignore
 create mode 100644 tests/lavocado/Makefile
 create mode 100644 tests/lavocado/README.md
 create mode 100644 tests/lavocado/lavocado/__init__.py
 create mode 100644 tests/lavocado/lavocado/defaults.py
 create mode 100644 tests/lavocado/lavocado/exceptions.py
 create mode 100644 tests/lavocado/lavocado/helpers/__init__.py
 create mode 100644 tests/lavocado/lavocado/helpers/domains.py
 create mode 100644 tests/lavocado/lavocado/test.py
 create mode 100644 tests/lavocado/requirements.txt
 create mode 100644 tests/lavocado/templates/domain.xml.jinja
 create mode 100644 tests/lavocado/tests/domain/transient.py

-- 
2.26.3






[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux