C# Class Xunit.ObservationAttributeBase

A specialized FactAttribute for integrating the class templates used in xUnit.BDDExtensions with xUnit.net. The whole purpose of this attribute (besides readability) is to decorate the original ITestCommand recieved from xUnit.net with a SpecificationCommand from xUnit.BDDExtensions.
Inheritance: FactAttribute
显示文件 Open project: BjRo/xunitbddextensions

Protected Methods

Method Description
EnumerateTestCommands ( IMethodInfo method ) : IEnumerable

Creates all the test command for the method specified by method.

Method Details

EnumerateTestCommands() protected final method

Creates all the test command for the method specified by method.
protected final EnumerateTestCommands ( IMethodInfo method ) : IEnumerable
method IMethodInfo The method to create command for.
return IEnumerable