One of the best feature that is in mbUnit since 2004 is RowTest, which is the ability to perform the same test using different input data and expected results. RowTest [RowTest]
public void SumTest(int a1, int a2, int result)
Assert.AreEqual(a1 + a2, result);
The cool thing is that each "row" is treated as a different test, and if the test fails for one set of data, the others might not. And this helps pinpointing the data that are making the test to fail.
This week I was adding...