C# Class Jwc.Experiment.Xunit.ParameterizedCommandContext

Represents context of a parameterized command.
Inheritance: TestCommandContext
Show file Open project: jwChung/Experimentalism Class Usage Examples

Public Methods

Method Description
GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

ParameterizedCommandContext ( IMethodInfo testMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the ParameterizedCommandContext class.

Method Details

GetMethodContext() public method

Gets information of the test method.
public GetMethodContext ( object testObject ) : ITestMethodContext
testObject object /// The test object. ///
return ITestMethodContext

GetStaticMethodContext() public method

Gets information of the static test method.
public GetStaticMethodContext ( ) : ITestMethodContext
return ITestMethodContext

ParameterizedCommandContext() public method

Initializes a new instance of the ParameterizedCommandContext class.
public ParameterizedCommandContext ( IMethodInfo testMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System
testMethod IMethodInfo /// A test method. ///
factory ISpecimenBuilderFactory /// A factory to create test fixture. ///
arguments IEnumerable /// Explicit arguments of the test method. ///
return System