Class ProgressReportWriter
java.lang.Object
com.arc_e_tect.gradle.gherkin.progress.ProgressReportWriter
Writes an AsciiDoc progress report that breaks scenarios down by
ScenarioStatus and summarises the breakdown as a table of counts and percentages.
Every call also writes the listed.adoc/defined.adoc/implemented.adoc
snippet files (see SnippetWriter), regardless of whether a template is configured. When
ProgressReportOptions.template() is set, the report itself is rendered from that Mustache
template via ReportTemplateRenderer - referencing the snippets via include::
directives - instead of embedding scenario titles verbatim.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidwrite(File outputFile, List<ScenarioInfo> scenarios, List<io.cucumber.cucumberexpressions.Expression> glueCode, ProgressReportOptions options) Classifies every scenario, writes the snippet files, and writes the progress report tooutputFile.
-
Constructor Details
-
ProgressReportWriter
public ProgressReportWriter()Creates a newProgressReportWriter.
-
-
Method Details
-
write
public void write(File outputFile, List<ScenarioInfo> scenarios, List<io.cucumber.cucumberexpressions.Expression> glueCode, ProgressReportOptions options) Classifies every scenario, writes the snippet files, and writes the progress report tooutputFile.- Parameters:
outputFile- the AsciiDoc file to writescenarios- the scenarios to report onglueCode- step definition patterns found in the configured glue code directoriesoptions- grouping, snippet, and template configuration
-