///用来修饰测试类 [TestClass()] public class Program { private TestContext testContextInstance; /// <summary> ///获取或设置测试上下文,上下文提供 ///有关当前测试运行及其功能的信息. ///</summary> public TestContext TestContext { get { return testContextInstance; } set { testContext…
Additional test attributes(可以在测试方法上使用的属性)As you have seen, the unit-testing subsystem within Visual Studio uses attributes to identify test cases.A number of additional properties can be set to provide further information about a test case. Thisinfor…