-
Subscribe
Categories
-
Recent Posts
-
Recent Comments
- Harald-René Flasch on When Is a Test a Unit Test?
- BinzBlog » CodeMash – Practical B/TDD on RowTest Extension for NUnit
- PKSpence on NUnit 2.4.7 includes RowTest Extension
- Bruno Cassol on Using Bazaar and Launchpad on Windows
- David Bishop’s Blog » Blog Archive » Adventures in OSS on RowTest Extension for NUnit
Tags
dotnetkicks.com

RowTest Extension for NUnit
RowTest Extension is an NUnit Addin that allows you to write RowTests for NUnit. RowTests can be used for simple Data-Driven Tests where the test data is provided by [Row] attributes.
Example
[TestFixture] public class RowTestSample { [RowTest] [Row( 1000, 10, 100.0000)] [Row(-1000, 10, -100.0000)] [Row( 1000, 7, 142.85715)] [Row( 1000, 0.00001, 100000000)] [Row(4195835, 3145729, 1.3338196)] public void DivisionTest(double numerator, double denominator, double result) { Assert.AreEqual(result, numerator / denominator, 0.00001); } }Project pages
Download
This extension requires NUnit 2.4 or above.
The extension can be downloaded from the Google project page.