[Libguestfs] [PATCH 0/2] Add lightweight bindings for PCRE.

Richard W.M. Jones rjones at redhat.com
Fri Aug 4 08:37:37 UTC 2017


On Fri, Aug 04, 2017 at 10:21:36AM +0200, Pino Toscano wrote:
> Just few points that come into my mind:
> - better reporting for expected/got values
> - better interaction for exceptions (e.g. expect/don't expect one)
> - logging
> - possibility to run stuff in subprocesses (which we don't use,
>   although I used it on something private)
> - possibility to run only some of the tests, which greatly helps
>   debugging the failure of one
> 
> All those thigs at least help _me_ when debugging tests, and as such
> they provide value to me.
> 
> Sure, all the above things can be done manually; what would be the
> gain though, other basically rewriting oUnit?

Do you want to submit a patch to convert the assert tests to
oUnit then?  I'll ACK it (assuming it's correct).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list