TestClassAttribute Class

Definition

This attribute is used to mark test classes.

public ref class TestClassAttribute sealed : Attribute
Inheritance
TestClassAttribute
Derived
Attributes

Remarks

Test classes must be:

Constructors

Methods

GetTestMethodAttribute()

Gets a test method attribute that enables running this test.

Applies to

Продукт Версии
MSTest.TestFramework 1.1.18, 1.2.1, 1.3.2, 1.4.0, 2.2.0, 2.1.2, 2.2.10, 3.0.4, 3.1.1, 3.2.2, 3.3.1, 3.4.3, 3.5.1, 3.6.4, 3.7.3, 3.8.0, 3.9.1