Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestCategoryAttribute Class

 

Class that is used to specify the category of a unit test.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

System::Object
  System::Attribute
    Microsoft.VisualStudio.TestTools.UnitTesting::TestCategoryBaseAttribute
      Microsoft.VisualStudio.TestTools.UnitTesting::TestCategoryAttribute

[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true)]
public ref class TestCategoryAttribute sealed : TestCategoryBaseAttribute

NameDescription
System_CAPS_pubmethodTestCategoryAttribute(String^)

Initializes a new instance of the TestCategoryAttribute class by applying the supplied category to the test.

NameDescription
System_CAPS_pubpropertyTestCategories

Gets the test category that has been applied to the test.(Overrides TestCategoryBaseAttribute::TestCategories.)

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: