
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, this includes MbUnit along with NUnitAddin already set up to work with MbUnit. No more need to edit that config file yourself. The future testing tool is TestDriven.NET ;)
- Reference
Core,FrameworkandTestFuin 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 failure, and 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’s 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 know enough about the uninstall possibly breaking your VS.NET installation. I uninstalled it today, and poof, adding classes and everything else through VS.NET was broken. The solution: repair VS.NET :(
You May Also Like

BENUG Hands-on Workshop on TDD: Location Info
Directions by train and bus to the BENUG hands-on TDD workshop at Compuware near Leuven, 9 September 2004.

Blog Post Record: Using ndiswrapper
Nine posts in one day, and how to get a Dell TrueMobile 1450 working on Fedora Core 2 with ndiswrapper and iwconfig.

New Site for Dutch-Speaking Teachers: Lerarenforum.be
Lerarenforum.be is open: a phpBB forum for Dutch-speaking teachers, built for teacher Kurt Meuleman.



