clipped from: weblogs.asp.net   

TestDriven.Net 2.13: Support for NUnit 2.4.7


The latest release of TestDriven.Net is now compiled against NUnit 2.4.7. This version of NUnit includes Andreas Schlapsi's popular RowTest extension. The RowTest attributes have been moved to the 'nunit.framework.extensions' assembly (which you can find here: \Program Files\TestDriven.NET 2.0\NUnit\2.4\nunit.core.extensions.dll).


RowTest

The prime number function might look like this:


IsPrime

As you can see the intention of the test is very clear and there is no repetition. I've written more about parameterized unit tests here.