다음을 통해 공유


TestMethodAttribute Class

Definition

The test method attribute.

public ref class TestMethodAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class TestMethodAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)>]
type TestMethodAttribute = class
    inherit Attribute
Public NotInheritable Class TestMethodAttribute
Inherits Attribute
Inheritance
TestMethodAttribute
Derived
Attributes

Constructors

TestMethodAttribute()

Initializes a new instance of the TestMethodAttribute class.

TestMethodAttribute()

Initializes a new instance of the TestMethodAttribute class.

Properties

DisplayName

Gets display Name for the Test Window

Methods

Execute()

Executes a test method.

Applies to