TestCaseAttribute.

GetTestCasesFor(MethodInfo) Method

Summary

Returns an collection containing a single ITestCaseData item, constructed from the arguments provided in the constructor and possibly converted to match the specified method.
Namespace
TCLite
Containing Type
TestCaseAttribute

Syntax

public IEnumerable<ITestCaseData> GetTestCasesFor(MethodInfo method)

Parameters

Name Type Description
method MethodInfo The method for which data is being provided

Return Value

Type Description
IEnumerable<ITestCaseData>