Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个带有两种方法的测试类,一种是参数化的,另一种不是。我希望第二个运行与参数化的一样多次。我知道也可以用“@DataProvider”注释第二种方法,但是有人知道解决方法吗?
从参数化方法调用非参数化方法。
I have populated the follow list with objects of type AnonymousType
AnonymousType
List<object> someList = new List<object>(); someList.Add(new { foo = 1 });