templates.default.overview.ftlh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cucumber-report-generator Show documentation
Show all versions of cucumber-report-generator Show documentation
The part of the Cucumber Reports library directly responsible for
reports generation.
${title}
<#include "pie_chart">
<#include "tables">
Overview Chart
Features Status Scenario Status
<@drawPieChart
id="feature_status"
width=450 height=300
values=[overallStats.getFeaturesPassed(),
overallStats.getFeaturesFailed(),
overallStats.getFeaturesUndefined(),
overallStats.getFeaturesKnown()]
labels=["Passed", "Failed", "Undefined", "Known"]
colors=["green", "red", "silver", "gold"]
shadowColors=["darkgreen", "darkred", "darkgray", "goldenrod"]
pieThickness=20
shift=2 />
<@drawPieChart
id="scenario_status"
width=450 height=300
values=[overallStats.getScenariosPassed(),
overallStats.getScenariosFailed(),
overallStats.getScenariosUndefined(),
overallStats.getScenariosKnown()]
labels=["Passed", "Failed", "Undefined", "Known"]
colors=["green", "red", "silver", "gold"]
shadowColors=["darkgreen", "darkred", "darkgray", "goldenrod"]
pieThickness=20
shift=2 />
Summary
<@drawOverviewStatsTable stats=overallStats />
Features Status
Feature Name
Status
Passed
Failed
Known
Undefined
Total
Duration
<#list features as feature>
<#if feature.featureName?has_content>
${feature.featureName}
${feature.status}
${feature.stats.scenariosPassed}
${feature.stats.scenariosFailed}
${feature.stats.scenariosKnown}
${feature.stats.scenariosUndefined}
${feature.stats.getScenariosTotal()}
${feature.duration}s
#if>
#list>
Scenario Status
Feature Name
Scenario
Status
Passed
Failed
Known
Undefined
Total
Retries
Duration
<#list scenarios as scenario>
${scenario.featureName}
${scenario.scenarioName}
${scenario.status}
${scenario.stats.stepsPassed}
${scenario.stats.stepsFailed}
${scenario.stats.stepsKnown}
${scenario.stats.stepsUndefined}
${scenario.stats.getStepsTotal()}
${scenario.retries}
${scenario.duration}s
#list>