Package win.dailypickle.report.plugin
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCalled by Cucumber when the plugin is specified aswin.dailypickle.report.plugin.CucumberReportPlugin:path/to/report.jsonorwin.dailypickle.report.plugin.CucumberReportPlugin:path/to/report.json:<theme>.CucumberReportPlugin(String outputPath, ReportConfig config) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetEventPublisher(io.cucumber.plugin.event.EventPublisher publisher)
-
Field Details
-
OUTPUT_PROPERTY
- See Also:
-
THEME_PROPERTY
- See Also:
-
TITLE_PROPERTY
- See Also:
-
TAG_LINKS_ENABLED_PROPERTY
- See Also:
-
TAG_LINKS_URL_PROPERTY
- See Also:
-
ENV_PROPERTY
- See Also:
-
INLINE_LIMIT_PROPERTY
- See Also:
-
-
Constructor Details
-
CucumberReportPlugin
public CucumberReportPlugin() -
CucumberReportPlugin
Called by Cucumber when the plugin is specified aswin.dailypickle.report.plugin.CucumberReportPlugin:path/to/report.jsonorwin.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, thedailypickle.themesystem property is checked. If neither is set, the built-in VS Code Dark defaults are used. -
CucumberReportPlugin
-
-
Method Details
-
setEventPublisher
public void setEventPublisher(io.cucumber.plugin.event.EventPublisher publisher) - Specified by:
setEventPublisherin interfaceio.cucumber.plugin.ConcurrentEventListener
-