C# Class StoryTeller.Engine.SpecRunner

Inheritance: ISpecRunner
Show file Open project: storyteller/Storyteller Class Usage Examples

Public Methods

Method Description
Cancel ( string id = null ) : void
Execute ( SpecExecutionRequest request, IConsumingQueue queue ) : SpecResults
IsRunning ( ) : bool
MarkAsInvalid ( Exception ex ) : void
RunningState ( ) : QueueState
SpecRunner ( IExecutionMode mode, ISystem system, IExecutionObserver observer ) : System
UseStopConditions ( StopConditions conditions ) : void

Private Methods

Method Description
buildResultsForContextCreationFailure ( SpecExecutionRequest request, Exception ex, StoryTeller.Engine.Timings timings ) : SpecResults

Method Details

Cancel() public method

public Cancel ( string id = null ) : void
id string
return void

Execute() public method

public Execute ( SpecExecutionRequest request, IConsumingQueue queue ) : SpecResults
request SpecExecutionRequest
queue IConsumingQueue
return SpecResults

IsRunning() public method

public IsRunning ( ) : bool
return bool

MarkAsInvalid() public method

public MarkAsInvalid ( Exception ex ) : void
ex System.Exception
return void

RunningState() public method

public RunningState ( ) : QueueState
return StoryTeller.Messages.QueueState

SpecRunner() public method

public SpecRunner ( IExecutionMode mode, ISystem system, IExecutionObserver observer ) : System
mode IExecutionMode
system ISystem
observer IExecutionObserver
return System

UseStopConditions() public method

public UseStopConditions ( StopConditions conditions ) : void
conditions StopConditions
return void