Re: Adding test suite for sexpr<->xml conversions

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

 



On Thu, Aug 24, 2006 at 02:07:51PM +0100, Daniel P. Berrange wrote:
> Quite a critical bit of the libvirt code is that which converts between
> SEXPR and XML, and vica-verca. I've broken this code several times when

 This is exactly reason why I've created unit tests stuff in libvirt
 ;-) It's important create unit tests for all things like parsers,
 convertors, ...

> RCS file: tests/sexpr2xml-fv.sexpr
> diff -N tests/sexpr2xml-fv.sexpr
> *** /dev/null	1 Jan 1970 00:00:00 -0000
> --- tests/sexpr2xml-fv.sexpr	24 Aug 2006 13:57:37 -0000

 Maybe you can create some subdirectory in tests/ for data otherwise
 it will be crowded.

 Go ahead, number of tests is unlimited :-)

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>


[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]