Compartir a través de


STATestMethodAttribute Class

Definition

The test class attribute.

[System.AttributeUsage(System.AttributeTargets.Method)]
public class STATestMethodAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestMethodAttribute
[<System.AttributeUsage(System.AttributeTargets.Method)>]
type STATestMethodAttribute = class
    inherit TestMethodAttribute
Public Class STATestMethodAttribute
Inherits 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