Class CucumberReportPlugin

java.lang.Object
win.dailypickle.report.plugin.CucumberReportPlugin
All Implemented Interfaces:
io.cucumber.plugin.ConcurrentEventListener, io.cucumber.plugin.Plugin

public final class CucumberReportPlugin extends Object implements io.cucumber.plugin.ConcurrentEventListener
  • Field Details

  • Constructor Details

    • CucumberReportPlugin

      public CucumberReportPlugin()
    • CucumberReportPlugin

      public CucumberReportPlugin(String arg)
      Called by Cucumber when the plugin is specified as win.dailypickle.report.plugin.CucumberReportPlugin:path/to/report.json or win.dailypickle.report.plugin.CucumberReportPlugin:path/to/report.json:<theme>.

      Cucumber passes everything after the first : as the constructor argument, so the theme is appended with a second :. The trailing segment is treated as a theme reference when it is a bare name (no path separators) or a file path ending in .json; otherwise the whole argument is the output path. Theme references that look like file paths are loaded from disk; bare names are resolved from the classpath. If no theme is given in the argument, the dailypickle.theme system property is checked. If neither is set, the built-in VS Code Dark defaults are used.

    • CucumberReportPlugin

      public CucumberReportPlugin(String outputPath, ReportConfig config)
  • Method Details

    • setEventPublisher

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