Class CucumberFeatureListener
java.lang.Object
io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm
com.shaft.listeners.CucumberFeatureListener
- All Implemented Interfaces:
io.cucumber.plugin.ConcurrentEventListener, io.cucumber.plugin.Plugin
public class CucumberFeatureListener
extends io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm
Allure plugin for Cucumber JVM 7.0.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a feature listener using the default Allure lifecycle singleton.CucumberFeatureListener(io.qameta.allure.AllureLifecycle lifecycle) Creates a feature listener using the provided Allure lifecycle. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.cucumber.plugin.ConcurrentEventListener
setEventPublisher
-
Constructor Details
-
CucumberFeatureListener
public CucumberFeatureListener()Creates a feature listener using the default Allure lifecycle singleton. -
CucumberFeatureListener
public CucumberFeatureListener(io.qameta.allure.AllureLifecycle lifecycle) Creates a feature listener using the provided Allure lifecycle.- Parameters:
lifecycle- the Allure lifecycle instance that receives Cucumber events
-
-
Method Details
-
setEventPublisher
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) - Specified by:
setEventPublisherin interfaceio.cucumber.plugin.ConcurrentEventListener- Overrides:
setEventPublisherin classio.qameta.allure.cucumber7jvm.AllureCucumber7Jvm
-