Package io.fluentlenium.adapter.cucumber
Class FluentCucumberSharedMutator
java.lang.Object
io.fluentlenium.adapter.cucumber.FluentCucumberSharedMutator
- All Implemented Interfaces:
SharedMutator
Cucumber implementation of
SharedMutator
,
replacing testClass
with a null reference
as it doesn't make sense in case of Cucumber tests, and raising a
ConfigurationException
when ConfigurationProperties.DriverLifecycle.CLASS
is given
to link WebDriver
instances with classes defining step definitions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.fluentlenium.adapter.SharedMutator
SharedMutator.EffectiveParameters<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEffectiveParameters
(Class<T> testClass, String testName, ConfigurationProperties.DriverLifecycle driverLifecycle) Effective parameters to use forSharedWebDriverContainer
.
-
Constructor Details
-
FluentCucumberSharedMutator
public FluentCucumberSharedMutator()
-
-
Method Details
-
getEffectiveParameters
public <T> SharedMutator.EffectiveParameters<T> getEffectiveParameters(Class<T> testClass, String testName, ConfigurationProperties.DriverLifecycle driverLifecycle) Description copied from interface:SharedMutator
Effective parameters to use forSharedWebDriverContainer
.- Specified by:
getEffectiveParameters
in interfaceSharedMutator
- Type Parameters:
T
- type of the test class- Parameters:
testClass
- test classtestName
- test namedriverLifecycle
- WebDriver lifecycle- Returns:
- Effective parameters object.
-