templates.generators.reportFeature.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.
#parse("/templates/headers.vm")
#includeTitle("Feature: $feature.getName()")
#includeNavigation()
#includeReportInfo()
#includeLead("Feature Report")
#includeReportTable("Feature", $feature)
#includeExpandingButtons()
#includeTags($feature.getTags())
#includeBrief($feature.getKeyword(), $feature.getStatus(), $feature.getName())
$feature.getDescription()
#foreach($element in $feature.getElements())
#includeElement($element, false)
#end
#includeExpandingButtons()
#include("/templates/footer.vm")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy