templates.generators.overviewSteps.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("Steps Overview")
#includeNavigation("steps")
#includeReportInfo()
#includeLead("Steps Statistics", "The following graph shows step statistics for this build. Below list is based on results.
step does not provide information about result then is not listed below.
Additionally @Before and @After are not counted because they are part of the scenarios, not steps.")
Implementation
Occurrences
Average duration
Max duration
Total durations
Ratio
#foreach($step in $all_steps)
$step.getLocation()
$step.getTotalOccurrences()
$step.getFormattedAverageDuration()
$step.getFormattedMaxDuration()
$step.getFormattedTotalDuration()
$step.getPercentageResult()
#end
$all_steps.size()
$all_occurrences
$all_average_duration
$all_max_duration
$all_durations
Totals
#include("/templates/footer.vm")
© 2015 - 2025 Weber Informatics LLC | Privacy Policy