[Avocado-devel] [avocado-devel] Negative testcases

Lucas Meneghel Rodrigues lookkas at gmail.com
Wed Jan 25 12:37:53 UTC 2017


Isn't catching the exception and checking if its fields look like what you
expect an option? That is the sort of thing that in my mind wouldn't need
additional support.

On Tue, Jan 24, 2017 at 4:33 PM Radek Duda <rduda at redhat.com> wrote:

> Hi,
>
> I wonder if there is any possiblity to perform negative testcases in
> avocado / avocado-vt?
>
> To be more specific:
> If I supply some nonsence to SPICE listening port as qemu-kvm parameter,
> the creation of VM should fail. Indeed it fails - throws VMCreateError, but
> that is all.
>
> Is there any way how to mark this TC as passed?
>
> Thanks for reply.
>
>
> Regards,
> Radek Duda
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20170125/6e8171ff/attachment.htm>


More information about the Avocado-devel mailing list