blog comments 0 del.icio.us bookmarks 0 diggs 0 Google results 0

2.4
PostRank

TestDriven.Net 2.13: Support for NUnit 2.4.7

TestDriven.NET by Jamie Cansdale From TestDriven.NET by Jamie Cansdale, 7 months ago, 0 views

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).

Here is an example RowTest method that tests a prime number function:

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.

comments

No comments yet.

You must be logged in to add your own comment.