Package net.serenitybdd.core
Class SerenityListeners
- java.lang.Object
-
- net.serenitybdd.core.SerenityListeners
-
- Direct Known Subclasses:
ThucydidesListeners
public class SerenityListeners extends Object
-
-
Constructor Summary
Constructors Constructor Description SerenityListeners(StepEventBus stepEventBus, Configuration systemConfiguration)
SerenityListeners(Configuration systemConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BaseStepListener
getBaseStepListener()
List<TestOutcome>
getResults()
protected Configuration
getSystemConfiguration()
The configuration manages output directories and driver types.SerenityListeners
withDriver(org.openqa.selenium.WebDriver driver)
-
-
-
Constructor Detail
-
SerenityListeners
public SerenityListeners(Configuration systemConfiguration)
-
SerenityListeners
public SerenityListeners(StepEventBus stepEventBus, Configuration systemConfiguration)
-
-
Method Detail
-
withDriver
public SerenityListeners withDriver(org.openqa.selenium.WebDriver driver)
-
getBaseStepListener
public BaseStepListener getBaseStepListener()
-
getResults
public List<TestOutcome> getResults()
-
getSystemConfiguration
protected Configuration getSystemConfiguration()
The configuration manages output directories and driver types. They can be defined as system values, or have sensible defaults.- Returns:
- current configuration object
-
-