Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

Nunit - Has anybody used it?

Is it a help?
Is it worthwhile going thru the learning curve if my immediate  development effort is 2 person months (max).

Sunday, September 26, 2004

There isn't much of a learning curve really, i've been using NUnit for the last week or two.

I would recommend reading Pragmatic Unit Testing in C# with NUnit by Andrew Hunt and David Thomas, because the real learning curve is in writing the tests.

It is very helpful to use NUnit as you can immediatly see if any of your changes broke something, and it makes you write better, simpler code since you need to think how to test the code.

GD (
Sunday, September 26, 2004

Yes, I use NUnit all the time. It has a very shallow learning curve so don't worry about that. The bigger challenge will be getting into the Test Driven Development mindset.

    Flava Flav!

Flava Flav
Sunday, September 26, 2004

I concur with the other posts. If you can't get it installed and start writing tests in under 2 hours (and that's a long time), then there's something wrong. The learning curve is not much of a curve at all. It's a well thought out, simple, and clean tool. Highly recommended.

Sgt. Sausage
Monday, September 27, 2004

If you like NUnit and use visual I highly recommend NUnit Addin.  With it you can just right-click on a test method, test class, or test project and all the tests are run.  If a test fails you can double click on the stack trace lines and be taken to the appropriate line of source code.

Nunit Addin significantly decreases the time taken to run unit tests and makes it much more useful to me.  You can find it at

Jason Pettys
Monday, September 27, 2004

Don't forget to surround URLs with spaces:


Tuesday, September 28, 2004

"It has a very shallow learning curve so don't worry about that."

Actually it has a steep learning curve, i.e. you can learn it quickly.  A shallow learning curve implies that you can only learn it over a long period of time.



Scott Gregory
Tuesday, September 28, 2004

That all depends on the scale of the graph.  Are you in marketing?  With the proper axis you can make learning MFC look like coding basic.

Friday, October 01, 2004

I agree, NUnit is easy to learn.  The hard bit is figuring out how to test the parts of your app which touch databases and GUIs.  Writing tests that involve neither GUI nor database is relatively easy and, while your mileage may vary, it can pay off even in short projects.  Tests that involve GUIs and databases are harder to do (well).

John Rusk
Friday, October 01, 2004

If you want to do UI based Testing with ASP.NET I can reccommend NUnitASP.  A pretty good into to it all (easier that the NUnit tutorial anyway!) is at: 

If you want to automate the testing processing take a look at TestRunner (similar to NUnit Addin)

Neil Dunlop
Wednesday, October 13, 2004

sorry... 'pretty good INTRO to it all' .... fat fingers today!

Neil Dunlop
Wednesday, October 13, 2004

*  Recent Topics

*  Fog Creek Home