templates.default.overview_chart.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">
Run Results Status
Features Scenarios Steps
<@drawPieChart
id="feature_status"
width=450 height=300
values=[overviewData.getFeaturesPassed(),
overviewData.getFeaturesFailed(),
overviewData.getFeaturesUndefined(),
overviewData.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=[overviewData.getScenariosPassed(),
overviewData.getScenariosFailed(),
overviewData.getScenariosUndefined(),
overviewData.getScenariosKnown()]
labels=["Passed", "Failed", "Undefined", "Known"]
colors=["green", "red", "silver", "gold"]
shadowColors=["darkgreen", "darkred", "darkgray", "goldenrod"]
pieThickness=20
shift=2 />
<@drawPieChart
id="steps_status"
width=450 height=300
values=[overviewData.getStepsPassed(),
overviewData.getStepsFailed(),
overviewData.getStepsUndefined(),
overviewData.getStepsKnown()]
labels=["Passed", "Failed", "Undefined", "Known"]
colors=["green", "red", "silver", "gold"]
shadowColors=["darkgreen", "darkred", "darkgray", "goldenrod"]
pieThickness=20
shift=2 />
<#if coverageIncluded == true>
Coverage Status
Features Scenarios Steps
<@drawPieChart
id="feature_coverage"
width=450 height=300
values=[overviewData.getFeaturesPassed(),
overviewData.getFeaturesUndefined()]
labels=["Covered", "Not Covered"]
colors=["green", "gold"]
shadowColors=["darkgreen", "GoldenRod"]
pieThickness=20
shift=2 />
<@drawPieChart
id="scenario_coverage"
width=450 height=300
values=[overviewData.getScenariosPassed(),
overviewData.getScenariosUndefined()]
labels=["Covered", "Not Covered"]
colors=["green", "gold"]
shadowColors=["darkgreen", "GoldenRod"]
pieThickness=20
shift=2 />
<@drawPieChart
id="steps_coverage"
width=450 height=300
values=[overviewData.getStepsPassed(),
overviewData.getStepsUndefined()]
labels=["Covered", "Not Covered"]
colors=["green", "gold"]
shadowColors=["darkgreen", "GoldenRod"]
pieThickness=20
shift=2 />
#if>