다음을 통해 공유


TestCategoryAttribute 생성자

제공된 범주를 테스트에 적용하여 TestCategoryAttribute 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UnitTesting
어셈블리:  Microsoft.VisualStudio.QualityTools.UnitTestFramework(Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

구문

‘선언
Public Sub New ( _
    testCategory As String _
)
public TestCategoryAttribute(
    string testCategory
)
public:
TestCategoryAttribute(
    String^ testCategory
)
new : 
        testCategory:string -> TestCategoryAttribute
public function TestCategoryAttribute(
    testCategory : String
)

매개 변수

  • testCategory
    형식: String

    적용할 테스트 범주입니다.

.NET Framework 보안

참고 항목

참조

TestCategoryAttribute 클래스

Microsoft.VisualStudio.TestTools.UnitTesting 네임스페이스