Class SerenityReporter

java.lang.Object
io.cucumber.core.plugin.SerenityReporter
All Implemented Interfaces:
io.cucumber.plugin.ConcurrentEventListener, io.cucumber.plugin.Plugin

public class SerenityReporter
extends java.lang.Object
implements io.cucumber.plugin.Plugin, io.cucumber.plugin.ConcurrentEventListener
Cucumber Formatter for Serenity.
Author:
L.Carausu (liviu.carausu@gmail.com)
  • Constructor Summary

    Constructors 
    Constructor Description
    SerenityReporter()
    Constructor automatically called by cucumber when class is specified as plugin in @CucumberOptions.
    SerenityReporter​(Configuration systemConfiguration)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<TestOutcome> getAllTestOutcomes()  
    void setEventPublisher​(io.cucumber.plugin.event.EventPublisher publisher)  

    Methods inherited from class java.lang.Object

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

    • SerenityReporter

      public SerenityReporter()
      Constructor automatically called by cucumber when class is specified as plugin in @CucumberOptions.
    • SerenityReporter

      public SerenityReporter​(Configuration systemConfiguration)
  • Method Details

    • setEventPublisher

      public void setEventPublisher​(io.cucumber.plugin.event.EventPublisher publisher)
      Specified by:
      setEventPublisher in interface io.cucumber.plugin.ConcurrentEventListener
    • getAllTestOutcomes

      public java.util.List<TestOutcome> getAllTestOutcomes()