C# Class SharpSpecs.Framework.SpecRunner

Inheritance: ISpecRunner
Show file Open project: charlieridley/SharpSpecs Class Usage Examples

Private Properties

Property Type Description
OnFeatureBegin void
OnFeatureEnd void
OnScenarioBegin void
OnScenarioEnd void
OnStepBegin void
OnStepEnd void
SpecRunner System

Public Methods

Method Description
Load ( string dllName ) : IEnumerable

Loads from specified DLL name.

RunAllFeatures ( ) : void

Runs all features.

SpecRunner ( ) : System

Initializes a new instance of the SpecRunner class.

Private Methods

Method Description
OnFeatureBegin ( Feature feature ) : void

Called when a feature begins.

OnFeatureEnd ( Feature feature ) : void

Called when a feature ends

OnScenarioBegin ( Scenario scenario ) : void

Called when a scenario begins

OnScenarioEnd ( Scenario scenario ) : void

Called when a scenario ends

OnStepBegin ( Step step ) : void

Called when the step begins

OnStepEnd ( Step step ) : void

Called when the step ends

SpecRunner ( IFeatureLoader featureLoader ) : System

Initializes a new instance of the SpecRunner class.

Method Details

Load() public method

Loads from specified DLL name.
public Load ( string dllName ) : IEnumerable
dllName string Name of the DLL.
return IEnumerable

RunAllFeatures() public method

Runs all features.
public RunAllFeatures ( ) : void
return void

SpecRunner() public method

Initializes a new instance of the SpecRunner class.
public SpecRunner ( ) : System
return System