Fitnesse, Mono and GIMP#

October 18, 2007 at 9:05 am | Posted in C#, GIMP, Programming | 3 Comments

Yesterday I installed Fitnesse, an acceptance testing framework. The idea is to learn about this tool and use it to test GIMP#. GIMP# is already covered by 200+ unit tests, using NUnit, but having a few more tests on a somewhat higher level is certainly not going to hurt.

To install Fitnesse I followed the steps described in a tutorial by Cory Foy.

The steps it took me to get Fitnesse working:

    • downloaded the zip file and unzipped it
    • had to chmod +x the run.sh file
    • start the FIT server (./run.sh)
    • replaced the backslash by a forward slash in “!define TEST_RUNNER {dotnet\FitServer.exe}
    • renamed FitServer.exe to FitServerOrig.exe and created a small wrapper script called FitServer.exe that basically does a “mono FitServerOrig.exe”. This can be avoided if you use binfmt_misc

      Next step is to write some fixtures for GIMP# code and actually test it.

      3 Comments »

      RSS feed for comments on this post. TrackBack URI

      1. Hi Maurits,

        Glad the tutorial was helpful. If you have any questions feel free to hop on the Fitnesse Yahoo group (http://tech.groups.yahoo.com/group/fitnesse/) or feel free to ping me. Good luck!

        Cory

      2. Hi,

        i writed some fixtures for java, the fit server is running on unix, now i would like to write the same fixtures for .NET using the fitserver on the unix platform.
        its possibel to that with mono, how can i do it

        many thanks

        musi

        • @Musi: Fitnesse.NET works pretty well with Mono. Writing fixtures is pretty much the same in C# as with Java. Details can be found on the Fitnesse site, especially in the documentation on Fitnesse.NET.


      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: