template.step-summary.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cluecumber-report-plugin
Show all versions of cluecumber-report-plugin
Plugin for generating clear Cucumber BDD test result reports.
<#--
Copyright 2018 trivago N.V.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<#import "macros/page.ftl"as page>
<#import "macros/common.ftl" as common>
<#import "macros/navigation.ftl" as navigation>
<@page.page
base=".."
links=["feature_summary", "tag_summary", "scenario_sequence", "scenario_summary"]
headline="All Steps"
subheadline=""
preheadline=""
preheadlineLink="">
<@page.card width="8" title="Step Summary Result Chart" subtitle="" classes="">
<@page.graph />
@page.card>
<@page.card width="4" title="Steps Summary" subtitle="" classes="">
- ${totalNumberOfSteps} Step(s) in
${totalNumberOfScenarios} Scenario(s)
${totalNumberOfPassed} <@common.status status="passed"/>
${totalNumberOfFailed} <@common.status status="failed"/>
${totalNumberOfSkipped} <@common.status status="skipped"/>
@page.card>
<@page.card width="12" title="Available Steps" subtitle="" classes="">
Step
Total
<@common.status status="passed"/>
<@common.status status="failed"/>
<@common.status status="skipped"/>
Min Time
Max Time
Ø Time
<#list stepResultCounts as step, stepResultCount>
${step.returnNameWithArgumentPlaceholders()}
${stepResultCount.total}
${stepResultCount.passed}
${stepResultCount.failed}
${stepResultCount.skipped}
${getMinimumTimeFromStep(step)}
${getMaximumTimeFromStep(step)}
${getAverageTimeFromStep(step)}
#list>
@page.card>
@page.page>