All Downloads are FREE. Search and download functionalities are using the official Maven repository.

templates.default.detailed.ftlh Maven / Gradle / Ivy

Go to download

The part of the Cucumber Reports library directly responsible for reports generation.

There is a newer version: 1.3.5
Show newest version
<#escape x as x?html?replace("\n","

")> ${title}
<#include "tables">

Overview

<@drawOverviewStatsTable stats=stats />

Table of Contents

    <#list results as result>
  1. ${result.getName()}
      <#list result.getElements() as scenario> <#if scenario.getKeyword()?starts_with("Scenario")>
    1. ${scenario.getName()}

Detailed Results Report

<#list results as result> <#if result.getDescription()?has_content>
Feature: ${result.getName()}

${result.getDescription()}
Passed: ${result.getPassed()} Failed: ${result.getFailed()} Undefined: ${result.getUndefined() + result.getSkipped()} Duration: ${result.getDuration()?string[".##"]}s
<#list result.getElements() as scenario> <#if scenario.getDescription()?has_content> <#if scenario.getBefore()?has_content> <#if scenario.getAfter()?has_content>
${scenario.getKeyword()}: ${scenario.getName()}

${scenario.getDescription()}
Passed: ${scenario.getPassed()} Failed: ${scenario.getFailed()} Undefined: ${scenario.getUndefined() + scenario.getSkipped()} Duration: ${scenario.getDuration()?string[".##"]}s
Before ${scenario.getBefore().getResult().getDurationTimeString("HH:mm:ss:S")}
<#if scenario.getBefore().getResult().getErrorMessage()?has_content>
${scenario.getBefore().getResult().getErrorMessage()}
<#list scenario.getSteps() as step> <#if step.getRows()?has_content > <#if step.getDocString()?has_content> <#if step.result.errorMessage?has_content> <#list step.getScreenShotLocations() as screenshot> <#if step.getOutput()?has_content>
${step.getKeyword()} ${step.getName()} ${step.getResult().getDurationTimeString("HH:mm:ss:S")}
<#list step.getRows() as row> <#list row as col>
${col}

${step.getDocString()}

${step.result.errorMessage}
Output

<#list step.getOutput() as line> ${line}
After ${scenario.getAfter().getResult().getDurationTimeString("HH:mm:ss:S")}
<#if scenario.getAfter().getResult().getErrorMessage()?has_content>
${scenario.getAfter().getResult().getErrorMessage()}
Back to Table of Contents




© 2015 - 2024 Weber Informatics LLC | Privacy Policy