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 2019 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
title="${pageTitle} - All Steps"
base=".."
highlight="step_summary"
headline="All Steps"
subheadline=""
subsubheadline=""
preheadline=""
preheadlineLink="">
<@page.card width="9" title="Step Summary Result Chart" subtitle="" classes="">
<@page.graph />
@page.card>
<@page.card width="3" title="Steps Summary" subtitle="" classes="">
-
${totalNumberOfSteps} <@common.pluralize word="Step" unitCount=totalNumberOfSteps/> in
${totalNumberOfScenarios} <@common.pluralize word="Scenario" unitCount=totalNumberOfScenarios/>
-
${totalNumberOfPassed} passed <@common.status status="passed"/>
${totalNumberOfFailed} failed <@common.status status="failed"/>
${totalNumberOfSkipped} skipped<@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}
<#if (getMinimumTimeScenarioIndexFromStep(step) > -1)>
${getMinimumTimeFromStep(step)}
#if>
<#if (getMaximumTimeScenarioIndexFromStep(step) > -1)>
${getMaximumTimeFromStep(step)}
#if>
${getAverageTimeFromStep(step)}
#list>
@page.card>
@page.page>