【发布时间】:2017-10-31 17:25:25
【问题描述】:
[TestFixture(Category = "P1")]
public class TestClass
{
[Test(Category = "P2")]
public void Method()
{
//test
}
}
在上面的代码 sn-p 中,TestCategory 的 Method 将被视为:“P1”或“P2”或两者兼而有之?
我想使用类别来过滤掉测试。
【问题讨论】:
标签: unit-testing testing nunit