Gunjan Doshi

Startups, Entrepreneurship, Agility, Management & Leadership, Metrics

Sample NAnt file with NUnit, NAnt & Fit integration

December 22nd, 2004 by gunjandoshi

Here is a sample NAnt build file
that runs all of the NUnit tests, runs code coverage using NCover & runs all the Fit acceptance tests. I removed the values from the properties, so that you can write your own.

I had to use a for loop in the script to run all the acceptance tests automatically rather than typing each FIT specification individually. I also kept getting “Did you remember to extend Fixture?” and “fit.ActionFixture not found” when I tried to run FIT acceptance tests. I had to copy runFile.exe from Fit directory to the build directory in the nant file.

Tags: No Comments

Leave a Comment

0 responses so far ↓

There are no comments yet...Kick things off by filling out the form below.