Class CucumberReporter

  • All Implemented Interfaces:
    io.cucumber.plugin.EventListener, io.cucumber.plugin.Plugin

    public class CucumberReporter
    extends java.lang.Object
    implements io.cucumber.plugin.EventListener
    Cucumber reporter that takes care of reporting Cucumber annotations when running Feature files with Gherkin syntax.
    • Constructor Summary

      Constructors 
      Constructor Description
      CucumberReporter()
      Cucumber requires empty constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setEventPublisher​(io.cucumber.plugin.event.EventPublisher publisher)
      Event publisher defines which methods are used when certain events occur.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CucumberReporter

        public CucumberReporter()
        Cucumber requires empty constructor.
    • Method Detail

      • setEventPublisher

        public void setEventPublisher​(io.cucumber.plugin.event.EventPublisher publisher)
        Event publisher defines which methods are used when certain events occur.
        Specified by:
        setEventPublisher in interface io.cucumber.plugin.EventListener
        Parameters:
        publisher - event publisher.