Share via


TestCaseSourceAttribute 类

定义

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public class TestCaseSourceAttribute : NUnit.Framework.DataAttribute, NUnit.Framework.Api.ITestCaseSource
type TestCaseSourceAttribute = class
    inherit DataAttribute
    interface ITestCaseSource
继承
TestCaseSourceAttribute
属性
实现

构造函数

TestCaseSourceAttribute(String)
TestCaseSourceAttribute(Type)
TestCaseSourceAttribute(Type, String)

属性

Category
SourceName
SourceType

方法

GetTestCasesFor(MethodInfo)

适用于