TestCategoryAttribute Class

Definition

TestCategory attribute; used to specify the category of a unit test.

C++
public ref class TestCategoryAttribute sealed : Microsoft::VisualStudio::TestTools::UnitTesting::TestCategoryBaseAttribute
Inheritance
TestCategoryAttribute
Attributes

Constructors

TestCategoryAttribute(String)

Initializes a new instance of the TestCategoryAttribute class and applies the category to the test.

Properties

TestCategories

Gets the test categories that has been applied to the test.

Applies to

Produit Versions
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