C# Class Grean.Exude.FirstClassTestsAttribute

Inheritance: Xunit.FactAttribute
Datei anzeigen Open project: GreanTech/Exude Class Usage Examples

Protected Methods

Method Description
EnumerateTestCommands ( IMethodInfo method ) : IEnumerable

Enumerates the test commands represented by this test method, by projecting the returned sequence of ITestCase into a sequence of xUnit.net ITestCommand instances.

Private Methods

Method Description
GetReturnValue ( IMethodInfo method ) : object
IsReturnTypeInvalid ( IMethodInfo method ) : bool

Method Details

EnumerateTestCommands() protected method

Enumerates the test commands represented by this test method, by projecting the returned sequence of ITestCase into a sequence of xUnit.net ITestCommand instances.
/// is . /// /// represents a method that doesn't return /// IEnumerable<ITestCase> (or a compatible type, such as /// ITestCase[]). ///
protected EnumerateTestCommands ( IMethodInfo method ) : IEnumerable
method IMethodInfo /// The test method adorned with the [FirstClassTests] attribute. ///
return IEnumerable