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

    Constructors
    Constructor
    Description
    Creates 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 Type
    Method
    Description
    void
    setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
     

    Methods inherited from class Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      setEventPublisher in interface io.cucumber.plugin.ConcurrentEventListener
      Overrides:
      setEventPublisher in class io.qameta.allure.cucumber7jvm.AllureCucumber7Jvm