【发布时间】:2010-03-09 18:03:17
【问题描述】:
Visual Studio 2008 单元测试框架中是否有 NUnit 的 TestCaseAttribute 等效项?
你知道,是这样的:
[TestCase(1, 1, 1)]
[TestCase(2, 2, 2)]
[TestCase(3, 3, 3)]
public void Test1(int a, int b, int c)
{
// do stuff depending on the TestCase
}
【问题讨论】:
标签: c# visual-studio unit-testing nunit vs-unit-testing-framework