TestCategoryAttribute TestCategoryAttribute TestCategoryAttribute Class

Definition

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

[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class TestCategoryAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.TestCategoryBaseAttribute
type TestCategoryAttribute = class
    inherit TestCategoryBaseAttribute
Public NotInheritable Class TestCategoryAttribute
Inherits TestCategoryBaseAttribute
Inheritance
Attributes

Constructors

TestCategoryAttribute(String) TestCategoryAttribute(String) TestCategoryAttribute(String)

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

Properties

TestCategories TestCategories TestCategories

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

Applies to