[libvirt PATCH 0/4] RFC: tests: introduce lavocado
Beraldo Leal
bleal at redhat.com
Fri Jul 2 12:17:06 UTC 2021
On Fri, Jul 02, 2021 at 12:43:57PM +0100, Daniel P. Berrangé wrote:
> On Thu, Jul 01, 2021 at 06:09:47PM -0300, Beraldo Leal wrote:
> > On Thu, Jul 01, 2021 at 07:04:32PM +0100, Daniel P. Berrangé wrote:
> > > On Wed, Jun 30, 2021 at 01:36:30PM -0300, Beraldo Leal wrote:
> > >
> > > If I look at Avocado, I think (correct me if i'm wrong)
> > >
> > > 1. The harness is essentially the standard Python harness
> > > with a thin CLI wrapper. Thus needs all tests to implement
> > > the Python test APIs
> > > 2. The support infra is all custom APIs using libvirt-python
> > > 3. The tests are to be written entirely in Python, to integrate
> > > with the python test harness
>
>
> > This is supported already:
> >
> > $ avocado run --tap - --test-runner='nrunner' tests/domain/transient.py
> > 1..3
> > ok 1 tests/domain/transient.py:TransientDomain.test_autostart
> > ok 2 tests/domain/transient.py:TransientDomain.test_lifecycle
> > ok 3 tests/domain/transient.py:TransientDomain.test_convert_transient_to_persistent
>
> BTW, where are you getting 'avocado' from ? AFAICT, it still is not
> made available in Fedora repositories - I found a copr repo only. It
> will need to graduate into official Fedora repositories before we can
> depend on it really.
ACK. Right now, for this RFC, I'm getting from Github on requirements.txt.
But we could get it from Pypi or any other repo.
Regards,
--
Beraldo
More information about the libvir-list
mailing list