templates.macros.report.steps.vm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-reporting Show documentation
Show all versions of cucumber-reporting Show documentation
Provides pretty html reports for Cucumber (Behaviour-Driven Development). It works by generating html from the
cucumber json report formatter. So can be used anywhere a json report is generated. Current use is in the
cucumber jenkins plugin and a maven mojo to generate the same report from mvn command line when running locally.
#macro(includeSteps, $steps)
#includeBrief("Steps", $element.getStepsStatus(), "", true)
#foreach($step in $element.getSteps())
#includeBrief($step.getKeyword(), $step.getStatus(), $step.getName(), false, $step.getResult())
#includeMessage("Error message", $step.getErrorMessage())
#if ($step.hasRows())
#foreach($row in $step.getRows())
#foreach($cell in $row.getCells())
$cell
#end
#end
#end
#includeOutput($step.getOutput())
#includeEmbeddings($step.getEmbeddings())
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy