Class ScenarioBuilder
Helper class to build scenarios with proper source context.
Namespace: Responsible.Bdd
Assembly: Responsible.dll
Syntax
public sealed class ScenarioBuilder
Methods
WithSteps(params IBddStep[])
Builds a test instruction for the scenario from the given steps.
Declaration
[Pure]
public ITestInstruction<object> WithSteps(params IBddStep[] steps)
Parameters
| Type | Name | Description |
|---|---|---|
| IBddStep[] | steps | Steps to execute as part of the scenario. |
Returns
| Type | Description |
|---|---|
| ITestInstruction<object> | A test instruction which will execute the scenario. |