
templates.macros.json.output.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(includeOutput $outputs, $isPassed)
#if(!$outputs.isEmpty())
#foreach($output in $outputs)
#set($outputId = $counter.next())
#set($index = $foreach.index + 1)
Output $index
#**
* DO NOT format the line below. Whitespace nodes are significant in a pre-block.
*#
#foreach($message in $output.getMessages())$message
#end
#end
#end
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy