.gif) |
AfterAssemblyCleanupEventArgs |
为 AfterAssemblyCleanup 事件提供数据。 |
.gif) |
AfterAssemblyInitializeEventArgs |
为 AfterAssemblyInitialize 事件提供数据。 |
.gif) |
AfterClassCleanupEventArgs |
为 AfterClassCleanup 事件提供数据。 |
.gif) |
AfterClassInitializeEventArgs |
为 AfterClassInitialize 事件提供数据。 |
.gif) |
AfterTestCleanupEventArgs |
为 AfterTestCleanup 事件提供数据。 |
.gif) |
AfterTestInitializeEventArgs |
为 AfterTestInitialize 事件提供数据。 |
.gif) |
AssemblyCleanupAttribute |
标识一个包含代码的方法,该代码在运行程序集中的所有测试之后使用并释放程序集获得的资源。此类不能被继承。 |
.gif) |
AssemblyInitializeAttribute |
标识一个包含代码的方法,该代码在运行程序集中的所有测试之前使用并分配程序集获得的资源。此类不能被继承。 |
.gif) |
Assert |
使用 true/false 命题验证单元测试中的条件。 |
.gif) |
AssertFailedException |
用于指示测试失败。 |
.gif) |
AssertInconclusiveException |
用于表示尚未实现某个测试。 |
.gif) |
BaseShadow |
公共方法使用此类来帮助测试私有类型。 |
.gif) |
BeforeAssemblyCleanupEventArgs |
为 BeforeAssemblyCleanup 事件提供数据。 |
.gif) |
BeforeAssemblyInitializeEventArgs |
为 BeforeAssemblyInitialize 事件提供数据。 |
.gif) |
BeforeClassCleanupEventArgs |
为 BeforeClassCleanup 事件提供数据。 |
.gif) |
BeforeClassInitializeEventArgs |
为 BeforeClassInitialize 事件提供数据。 |
.gif) |
BeforeTestCleanupEventArgs |
为 BeforeTestCleanup 事件提供数据。 |
.gif) |
BeforeTestInitializeEventArgs |
为 BeforeTestInitialize 事件提供数据。 |
.gif) |
ClassCleanupAttribute |
标识一个包含代码的方法,该代码将在测试类中所有的测试都运行以后使用,并释放测试类所获取的资源。此类不能被继承。 |
.gif) |
ClassInitializeAttribute |
标识一个包含代码的方法,这些代码必须在测试类中的任意测试运行之前使用,并用于分配测试类所使用的资源。此类不能被继承。 |
.gif) |
CollectionAssert |
在单元测试中验证与集合关联的 true/false 命题。 |
.gif) |
CssIterationAttribute |
表示该测试对应的项目迭代。此类不能被继承。 |
.gif) |
CssProjectStructureAttribute |
表示此测试所对应的团队项目层次结构中的节点。 |
.gif) |
DataSourceAttribute |
为数据驱动测试提供数据源特定的信息。此类不能被继承。 |
.gif) |
DataSourceElement |
将数据源元素表示为配置文件中的 XML 标记。 |
.gif) |
DataSourceElementCollection |
表示 XML 元素,此元素包含子 DataSourceElement 对象的集合。 |
.gif) |
DeploymentItemAttribute |
指定应具有在运行测试之前的程序集一起部署的文件或目录。附加此属性设置为测试选件类或测试方法。可以使用多个实例。此属性不继承。 |
.gif) |
DescriptionAttribute |
用于指定对测试的说明。此类不能被继承。 |
.gif) |
ExpectedExceptionAttribute |
表示测试方法的执行过程中应引发异常。此类不能被继承。 |
.gif) |
ExpectedExceptionBaseAttribute |
这是指定单元测试应引发异常的特性的基类。 |
.gif) |
GenericParameterHelper |
此类是与泛型一起使用的占位符。此类通过允许传递非特定的类型参数来帮助您测试泛型类型。 |
.gif) |
HostTypeAttribute |
指定运行相关单元测试的主机类型。此类不能被继承。 |
.gif) |
IgnoreAttribute |
指示特定测试不应运行。此类不能被继承。 |
.gif) |
InternalTestFailureException |
为指示测试的内部错误而引发的异常。 |
.gif) |
OnTestStoppingEventArgs |
在测试完成前停止的情况下发生。 |
.gif) |
OwnerAttribute |
用于指定负责对测试进行维护、运行和/或调试的人员。此类不能被继承。 |
.gif) |
PriorityAttribute |
用于指定单元测试的优先级。此类不能被继承。 |
.gif) |
PrivateObject |
允许测试代码调用被测代码的方法和属性,这些方法和属性由于不是 public 的而不可访问。 |
.gif) |
PrivateType |
表示私有类的类型,该私有类提供对私有静态实现的访问。 |
.gif) |
ShadowingAttribute |
不要使用此类。 |
.gif) |
StringAssert |
在单位测试中验证与字符串相关联的 true/false 命题。 |
.gif) |
TestCategoryAttribute |
用于指定单元测试类别的类。 |
.gif) |
TestCategoryBaseAttribute |
提供了类别特性的基类。 |
.gif) |
TestClassAttribute |
用于标识包含测试方法的类。此类不能被继承。 |
.gif) |
TestClassExtensionAttribute |
激活类,以将其识别为单元测试扩展类。 |
.gif) |
TestCleanupAttribute |
标识一个方法,此方法包含测试运行后必须用于释放测试类中的全部测试所获得的资源的代码。此类不能被继承。 |
.gif) |
TestConfiguration |
提供对表示 app.config 文件中 microsoft.visualstudio.testtools 一节的 TestConfigurationSection 的访问。 |
.gif) |
TestConfigurationSection |
提供对数据源配置数据的访问。 |
.gif) |
TestContext |
用于存储提供给单元测试的信息。 |
.gif) |
TestExecution |
此类表示与测试执行相关的事件。 |
.gif) |
TestExecutionEventArgs |
TestExecution 类中的事件的基类。 |
.gif) |
TestExtensionExecution |
通过该类可以对测试执行进行自定义。 |
.gif) |
TestInitializeAttribute |
标识在测试之前要运行的方法,从而分配并配置测试类中的所有测试所需的资源。此类不能被继承。 |
.gif) |
TestMethodAttribute |
用于标识测试方法。此类不能被继承。 |
.gif) |
TestMethodInvokerContext |
传递到 TestExtensionExecution.CreateMethodInvoker 的单元测试适配器。 |
.gif) |
TestMethodInvokerResult |
由 Invoke 返回的结果。 |
.gif) |
TestPropertyAttribute |
在方法上建立测试特定属性。此类不能被继承。 |
.gif) |
TimeoutAttribute |
用于指定单元测试的超时时间。 |
.gif) |
UnitTestAssertException |
这是单元测试异常的基类。 |
.gif) |
WebServiceHelper |
包含用于 Web 服务测试的帮助器方法。 |
.gif) |
WorkItemAttribute |
用于指定与测试相关联的工作项。 |