NUnit 2.4.7 では、nunit.framework.extensions.dll が含まれ、RowTests を実行できるようになりました。
最新バージョン (2.5.8) をダウンロードしても見つかりません。何が起こったのでしょうか?
ベストアンサー1
を使用する代わりにRowTest
、 を使用できますTestCase
。 を使用した以前のテストはRowTest
次のようになります。
[RowTest]
[Row("foo", false)]
[Row("", true)]
public void Some_test(string value, bool expected)
{
// test
}
同じことはTestCase
次のようになります:
[TestCase("foo", false)]
[TestCase("", true)]
public void Some_test(string value, bool expected)
{
// test
}