STATestMethodAttribute Class

Definition

The test class attribute.

C#
[System.AttributeUsage(System.AttributeTargets.Method)]
public class STATestMethodAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute
Inheritance
STATestMethodAttribute
Attributes

Constructors

STATestMethodAttribute()

Initializes a new instance of the STATestMethodAttribute class.

STATestMethodAttribute(String)

Initializes a new instance of the STATestMethodAttribute class.

Properties

DisplayName

Gets display name for the test.

(Inherited from TestMethodAttribute)

Methods

Execute(ITestMethod)

Executes a test method.

(Inherited from TestMethodAttribute)

Applies to

Produkt Versiounen
MSTest.TestFramework 3.6.4, 3.7.3, 3.8.0