Skip to content
David Cumps

BENUG Test Driven Development Session - TestDriven.NET

Originally published on my old blog at cumps.be on September 9, 2004.

Today I went to a BENUG session about test driven development, and I finally got NUnitAddin to work ;)

A small recap of today:

  • Get TestDriven.NET-0.9.615d.msi, this includes MbUnit along with NUnitAddin already setup to work with MbUnit. No more need to edit that config file yourself. The future testing tool is TestDriven.NET ;)

  • Reference Core, Framework and TestFu in your project.

  • Add [TestFixture] as attribute to your class.

  • Add [Test] as attribute to a method.

  • Right click somewhere in the class and Run Tests, to run them all, or right click in one method to only run that one.

  • Watch the Output window display success or failed, and display the report url at the end.

  • CTRL+Click the url to see a detailed report (view example).

For all other news, I redirect you to Jonathan de Halleux his blog, where he talks about the Database Populator Framework and other nice testing stuff.

Note:

If you have installed csUnit, leave it installed! Do NOT uninstall it unless you are good enough informed about the uninstall possibly fucking up your VS.NET installation. I uninstalled it today, and poof, adding classes and everything else trough VS.NET was broken, solution, Repair VS.NET :(

You May Also Like