Table of Contents

Class ScreenplayBinding

Namespace
CSF.Screenplay
Assembly
CSF.Screenplay.SpecFlowPlugin.dll

SpecFlow binding which uses hooks to coordinate the relevant Screenplay & IPerformance event invokers.

[Binding]
public class ScreenplayBinding
Inheritance
ScreenplayBinding
Inherited Members

Constructors

ScreenplayBinding(IServiceProvider)

Initialises a new instance of ScreenplayBinding.

public ScreenplayBinding(IServiceProvider serviceProvider)

Parameters

serviceProvider IServiceProvider

The service provider

Exceptions

ArgumentNullException

If the serviceProvider is null.

Methods

AfterScenario()

Executed after each scenario.

[AfterScenario(new string[] { })]
public void AfterScenario()

AfterTestRun()

Executed after a test run.

[AfterTestRun]
public static void AfterTestRun()

BeforeScenario()

Executed before each scenario.

[BeforeScenario(new string[] { })]
public void BeforeScenario()

BeforeTestRun()

Executed before a test run.

[BeforeTestRun]
public static void BeforeTestRun()