C# Class Pepino.ScenarioRunner.Application.ScenarioContext

显示文件 Open project: AcklenAvenue/Pepino Class Usage Examples

Public Methods

Method Description
AddResponsePayload ( string responsePayloadKey, string json ) : void
AddStepExecutionResult ( StepExecutionResult result ) : void
GetPayloads ( ) : string>.IReadOnlyDictionary
GetResponsePayload ( string key ) : string
Interpret ( string stringWithTokens ) : string
ScenarioContext ( Scenario scenario, string>.IDictionary tokenDictionary = null ) : System.Collections.Generic

Protected Methods

Method Description
ScenarioContext ( ) : System.Collections.Generic

Method Details

AddResponsePayload() public method

public AddResponsePayload ( string responsePayloadKey, string json ) : void
responsePayloadKey string
json string
return void

AddStepExecutionResult() public method

public AddStepExecutionResult ( StepExecutionResult result ) : void
result StepExecutionResult
return void

GetPayloads() public method

public GetPayloads ( ) : string>.IReadOnlyDictionary
return string>.IReadOnlyDictionary

GetResponsePayload() public method

public GetResponsePayload ( string key ) : string
key string
return string

Interpret() public method

public Interpret ( string stringWithTokens ) : string
stringWithTokens string
return string

ScenarioContext() protected method

protected ScenarioContext ( ) : System.Collections.Generic
return System.Collections.Generic

ScenarioContext() public method

public ScenarioContext ( Scenario scenario, string>.IDictionary tokenDictionary = null ) : System.Collections.Generic
scenario Scenario
tokenDictionary string>.IDictionary
return System.Collections.Generic