nUnit行测试扩展跳过我的测试
当我使用NUnitExtension.RowTest.dll时,它会忽略我在Resharper/VS2008和Gallio Icarus中的测试。有人有一个有效的配置吗nUnit行测试扩展跳过我的测试,nunit,resharper,gallio,Nunit,Resharper,Gallio,当我使用NUnitExtension.RowTest.dll时,它会忽略我在Resharper/VS2008和Gallio Icarus中的测试。有人有一个有效的配置吗 [RowTest] [Row(5, 6, 11)] public void Should_Do_RowTest(int a, int b, int expected) { Assert.AreEqual(a+b, expected); } 我知道更笨重,但是你呢 [Te
[RowTest]
[Row(5, 6, 11)]
public void Should_Do_RowTest(int a, int b, int expected)
{
Assert.AreEqual(a+b, expected);
}
我知道更笨重,但是你呢
[Test, Sequential]
public void Should_Do_RowTest(
[Values(5,7)] int a,
[Values(6,9)] int b,
[Values(11,16)] int expected)
{
Assert.AreEqual(a+b, expected);
}
此代码不需要扩展DLL。它将执行:
Should_Do_RowTest(5,6,11);
Should_Do_RowTest(7,9,16);