Short explanation of how to use the unittests?

Christian Stimming christian at
Sun Mar 24 16:36:59 EDT 2013

Am Samstag, 23. März 2013, 08:09:10 schrieb John Ralls:
> > I just tried to do some test-driven development in gnucash. However, I
> > couldn't find some short or easy explanation on how to actually work
> > with the unittest framework that we're using.
> Christian,
> The short answer is that Glib testing is documented here:
> When you run e.g. test-qof you're really running gtester.
> There's already a testing page in the wiki,
>, but it is a bit terse and has only
> the first link. I'll add a section on running tests with the other two.

Great! A wiki page like that was what I was looking for. I'm surprised this 
page didn't show up when searching in the wiki for "test" or "unittest", but 
I've added redirections for both words now. 

Also, even though the glib page for Testing (your first URL) introduces the 
available functions for the C side, it doesn't mention how the resulting 
executables will be called from the command line. But your additional hint is 
sufficient now. Thanks!


More information about the gnucash-devel mailing list