共用方式為


TestCaseAttribute 類別

定義

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public class TestCaseAttribute : NUnit.Framework.DataAttribute, NUnit.Framework.Api.ITestCaseData, NUnit.Framework.Api.ITestCaseSource
type TestCaseAttribute = class
    inherit DataAttribute
    interface ITestCaseData
    interface ITestCaseSource
繼承
屬性
實作

建構函式

TestCaseAttribute(Object, Object, Object)
TestCaseAttribute(Object, Object)
TestCaseAttribute(Object)
TestCaseAttribute(Object[])

屬性

Arguments
Categories
Category
Description
ExceptionData
ExpectedException
ExpectedExceptionName
ExpectedMessage
ExpectedResult
Explicit
HasExpectedResult
Ignore
IgnoreReason
MatchType
Properties
Reason
Result
RunState
TestName

方法

GetTestCasesFor(MethodInfo)

適用於