Partager via


TestCategoryAttribute(String) Constructor

Definition

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

public:
 TestCategoryAttribute(System::String ^ testCategory);
public TestCategoryAttribute (string testCategory);
new Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryAttribute : string -> Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryAttribute
Public Sub New (testCategory As String)

Parameters

testCategory
String

The test Category.

Applies to