templates.tagOverview.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.
#* @vtlvariable name="tags" type="java.util.List" *#
Cucumber-JVM Html Reports - Tag Overview
#if($flashCharts)
#else
#if ($highCharts)
#else
#end
#end
#include("/styles/reporting.css")
Tag Overview for Build: $build_number
#if($fromJenkins)
Project Name: $build_project
#end
The following graph shows number of steps passing, failing and skipped for this build:
#if($tags.isEmpty())
You have no tags in your cucumber features
#else
#if($flashCharts)
#else
#if ($highCharts)
#else
#end
#end
Tag Statistics
#include("/templates/tableHeader.vm")
#foreach($tag in $tags)
#if($tag.getStatus().toString() == "PASSED")
#set($bgcolour = "#00CE00")
#else
#set($bgcolour = "#FF0000")
#end
$tag.getTagName()
#if ($hasCustomHeader)
$customHeaders.get($tag.getTagName())
#end
$tag.getNumberOfScenarios()
$tag.getNumberOfPassingScenarios()
$tag.getNumberOfFailingScenarios()
$tag.getNumberOfSteps()
$tag.getNumberOfPasses()
0) style="background-color:#FF0000;" #end>$tag.getNumberOfFailures()
0) style="background-color:#88AAFF;" #end>$tag.getNumberOfSkipped()
0) style="background-color:#FBB907;" #end>$tag.getNumberOfPending()
0) style="background-color:#FBB957;" #end>$tag.getNumberOfUndefined()
0) style="background-color:#FBB9A7;" #end>$tag.getNumberOfMissing()
$tag.getDurationOfSteps()
$tag.getRawStatus()
#end
background steps
$backgrounds.getTotalScenarios()
$backgrounds.getTotalScenariosPassed()
$backgrounds.getTotalScenariosFailed()
$backgrounds.getTotalSteps()
$backgrounds.getTotalStepsPassed()
$backgrounds.getTotalStepsFailed()
$backgrounds.getTotalStepsSkipped()
$backgrounds.getTotalStepsPending()
$backgrounds.getTotalStepsUndefined()
$backgrounds.getTotalStepsMissing()
$backgrounds.getTotalFormattedDuration()
Totals
#set($total_steps = $total_steps + $backgrounds.getTotalSteps())
#set($total_passes = $total_passes + $backgrounds.getTotalStepsPassed())
#set($total_fails = $total_fails + $backgrounds.getTotalStepsFailed())
#set($total_skipped = $total_skipped + $backgrounds.getTotalStepsSkipped())
#set($total_pending = $total_pending + $backgrounds.getTotalStepsPending())
#set($total_undefined = $total_undefined + $backgrounds.getTotalStepsUndefined())
#set($total_missing = $total_missing + $backgrounds.getTotalStepsMissing())
$tags.size()
$total_scenarios
$total_passed_scenarios
$total_failed_scenarios
$total_steps
$total_passes
$total_fails
$total_skipped
$total_pending
$total_undefined
$total_missing
$total_duration
Totals
#end