qemu/tests/acceptance
Caio Carrara b7287d4283 tests.acceptance: adds multi vm capability for acceptance tests
This change adds the possibility to write acceptance tests with multi
virtual machine support. It's done keeping the virtual machines objects
stored in a test attribute (dictionary). This dictionary shouldn't be
accessed directly but through the new method added `get_vm`. This new
method accept a list of args (that will be added as virtual machine
arguments) and an optional name argument. The name is the key that
identify a single virtual machine along the test machines available. If
a name without a machine is informed a new machine will be instantiated.

The current usage of vm in tests will not be broken by this change since
it keeps a property called vm in the base test class. This property only
calls the new method `get_vm` with default parameters (no args and
'default' as machine name).

Signed-off-by: Caio Carrara <ccarrara@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Message-Id: <20190212193855.13223-2-ccarrara@redhat.com>
Signed-off-by: Cleber Rosa <crosa@redhat.com>
2019-02-22 14:07:01 -05:00
..
avocado_qemu tests.acceptance: adds multi vm capability for acceptance tests 2019-02-22 14:07:01 -05:00
boot_linux_console.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
linux_initrd.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
README.rst
version.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00
virtio_version.py Introduce a Python module structure 2019-02-22 14:07:01 -05:00
vnc.py Acceptance tests: drop usage of "🥑 enable" 2019-02-22 14:07:01 -05:00

============================================
Acceptance tests using the Avocado Framework
============================================

This directory contains functional tests, also known as acceptance
level tests.  They're usually higher level, and may interact with
external resources and with various guest operating systems.

For more information, please refer to ``docs/devel/testing.rst``,
section "Acceptance tests using the Avocado Framework".