C# Class StoryTeller.Engine.SpecExecution

Afficher le fichier Open project: storyteller/Storyteller Class Usage Examples

Méthodes publiques

Méthode Description
Cancel ( ) : void
Execute ( ISystem system, StoryTeller.Engine.Timings timings ) : SpecResults
RunAll ( SpecContext context, SpecificationPlan plan ) : void
SpecExecution ( SpecExecutionRequest request, StopConditions stopConditions, IExecutionLogger logger ) : System

Méthodes protégées

Méthode Description
executeSteps ( SpecContext context, IList lines, CancellationToken token ) : Task
setupTimeout ( ) : Task
shouldStop ( SpecContext context ) : bool

Private Methods

Méthode Description
beforeExecution ( IExecutionContext execution, SpecContext context ) : void
buildResults ( SpecContext context, StoryTeller.Engine.Timings timings ) : SpecResults
createExecutionContext ( ISystem system, StoryTeller.Engine.Timings timings ) : IExecutionContext
determineLineSteps ( SpecContext context ) : IList
execute ( SpecContext context, ILineExecution line ) : Task
startDebugListening ( SpecContext context ) : void
timeoutMessage ( StoryTeller.Engine.Timings timings ) : StepResult

Method Details

Cancel() public méthode

public Cancel ( ) : void
Résultat void

Execute() public méthode

public Execute ( ISystem system, StoryTeller.Engine.Timings timings ) : SpecResults
system ISystem
timings StoryTeller.Engine.Timings
Résultat SpecResults

RunAll() public static méthode

public static RunAll ( SpecContext context, SpecificationPlan plan ) : void
context SpecContext
plan StoryTeller.Grammars.SpecificationPlan
Résultat void

SpecExecution() public méthode

public SpecExecution ( SpecExecutionRequest request, StopConditions stopConditions, IExecutionLogger logger ) : System
request SpecExecutionRequest
stopConditions StopConditions
logger IExecutionLogger
Résultat System

executeSteps() protected méthode

protected executeSteps ( SpecContext context, IList lines, CancellationToken token ) : Task
context SpecContext
lines IList
token System.Threading.CancellationToken
Résultat Task

setupTimeout() protected méthode

protected setupTimeout ( ) : Task
Résultat Task

shouldStop() protected méthode

protected shouldStop ( SpecContext context ) : bool
context SpecContext
Résultat bool