A test then throws whatever exception the particular TestContext defines.
然后测试抛出TestContext定义的所有异常。
The solution is extensible both to new kinds of clients and to new kinds of result collectors and what interactions there are have been localized to the TestContext class and its subtypes.
无论对于新的客户机类型、新的结果收集器类型,还是和 TestContext 类及其子类型的何种交互,这种解决方案都是可扩展的。
应用推荐