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. It works by generating html from the cucumber json file.
#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")