[GRASS-dev] unit tests?

Moritz Lennert mlennert at club.worldonline.be
Wed Oct 17 08:06:34 PDT 2012


On 17/10/12 16:58, Eric Momsen wrote:
> Hi all,
>
> I'd like to do some further enhancements of i.segment (GSOC 2012
> project, will hopefully send an official announcement soon!), and have
> a chance to use it for a class homework project... if I include some
> unit tests of the results.  I've previously used junit/Netbeans.  For
> GRASS development, I've been using Geany, and just kept a text file
> with commands to run after making changes.
>
> Does anyone run unit tests on individual modules, or have any advice
> on an easy way to set something up?  I read a little bit about cunit,
> but it was already taking longer than junit/Netbeans.  I just need to
> decide if it will be easy enough to add some unit testing, or if I'd
> be better doing something else for class and using the time learned to
> do c unit testing on more development on i.segment :)

It's been an on and off effort in GRASS, but check here for more info: 
http://grass.osgeo.org/wiki/Test_Suite

Moritz


More information about the grass-dev mailing list