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);
}
}
Commercial Use
Modify
Distribute
Sub-License
Private Use
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.
30 Day SummarySep 15 2019 — Oct 15 2019
|
12 Month SummaryOct 15 2018 — Oct 15 2019
|