C# Class Jwc.Experiment.Xunit.TestCommandContext

Represents a base class for test command context.
Inheritance: ITestCommandContext
Show file Open project: jwChung/Experimentalism

Public Methods

Method Description
GetArguments ( ITestMethodContext context ) : IEnumerable

Gets test arguments.

GetMethodContext ( object testObject ) : ITestMethodContext

Gets information of the test method.

GetStaticMethodContext ( ) : ITestMethodContext

Gets information of the static test method.

Protected Methods

Method Description
TestCommandContext ( ISpecimenBuilderFactory factory, IEnumerable arguments ) : System

Initializes a new instance of the TestCommandContext class.

Method Details

GetArguments() public method

Gets test arguments.
public GetArguments ( ITestMethodContext context ) : IEnumerable
context ITestMethodContext /// Information of the test method. ///
return IEnumerable

GetMethodContext() public abstract method

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

GetStaticMethodContext() public abstract method

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

TestCommandContext() protected method

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