Re: Testing



On Wed, 2009-12-16 at 21:48 +0100, Tobias Pflug wrote:
> Hi,
> 
> I see the nm sources have some test code here and there using some
> slightly customized ASSERT macro. I was wondering what people would
> think about adding more tests using something like cunit [1] or 
> cutest [2] or check [3] ?
> 
> I'd be interested in working on test cases as I think it could be a good
> way to get to know the code / API / ..
> 
> any thoughts on this ? Dan ?

(Tobias poked me on IRC as well, so this reply is for the list mostly)

We should eventually use glib's test framework instead of the homegrown
stuff.  That's possible in 0.8 because we require a glib version there
that has the unit test helpers, while 0.7.x can't make that assumption.
Any new tests should probably use the new glib stuff, and we can convert
the old tests over when there's time.

Dan




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