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)
TestCaseAttribute(Object, Object)
TestCaseAttribute(Object, Object, Object)
TestCaseAttribute(Object[])

属性

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

方法

GetTestCasesFor(MethodInfo)

适用于