BENUG Test Driven Development Session - TestDriven.NET
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).
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 :(