Unit testing GIMP

February 20, 2006 at 8:28 am | Posted in GIMP | Leave a comment

Everyone seems to agree that testing software is important. Hardly anyone does so in practice. Especially open source software can benefit from good testing and there are a lot of great tools available. Last week I wrote a GIMP# new plug-in that is based on NUnit. This plug-in does unit testing on all GIMP# classes and thus indirectly also unit tests GIMP itself.

For GIMP# this is a very important step to improve the quality even further, since I have written a lot of code (mostly C# wrappers around the GIMP API) that isn’t called by any plug-in yet. The unit tests will ensure that the wrapper will work as advertised.
The new plug-in will be available in GIMP# 0.8 and can be enabled with the –with-unittest option in the configure script.

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: