iOS Guides | Samples

NUnit.Framework.TestCaseSourceAttribute Class

TestCaseSourceAttribute indicates the source to be used to provide test cases for a test method.

See Also: TestCaseSourceAttribute


[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true, Inherited=false)]
public class TestCaseSourceAttribute : DataAttribute, ITestCaseSource


Namespace: NUnit.Framework
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions:

The members of NUnit.Framework.TestCaseSourceAttribute are listed below.

See Also: DataAttribute

Public Constructors

Construct with the name of the method, property or field that will prvide data
Construct with a Type
Construct with a Type and name

Public Properties

CategoryString. Gets or sets the category associated with this test. May be a single category or a comma-separated list.
SourceNameString. The name of a the method, property or fiend to be used as a source
SourceTypeType. A Type to be used as a source