我知道 MSTest 不支持 RowTest
和类似的测试。
做什么MSTests
用户做什么?没有RowTest
怎么活?支持?
我见过DataDriven
测试功能,但听起来开销太大,是否有任何第 3 方补丁或工具可以让我这样做 RowTest
MSTest
中的类似测试?
最佳答案
[TestMethod]
Test1Row1
{
Test1(1,4,5);
}
[TestMethod]
Test1Row2
{
Test1(1,7,8);
}
private Test1(int i, int j, int k)
{
//all code and assertions in here
}
关于unit-testing - 如何使用 MSTest 进行 RowTest?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/347535/