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

templates.spec.ftlh Maven / Gradle / Ivy

The newest version!
<#-- @ftlvariable name="step" type="com.github.mictaege.arete_gradle.SpecificationStep" -->


    ${step.displayName}
    <#include "arete-css.ftlh">
    <#include "prism-css.ftlh">


    
    
<#assign level = 0> <#macro stamp step> <#if "${step.type}" == "SPEC">
Results generated by arete ${step.timeStampLong}
${step.testClassName}
<#elseif "${step.resultState}" == "ABORTED" || "${step.resultState}" == "FAILED"> ${step.timeOnly} <#macro anchor step> <#if step.type.container> <#macro pageMenu step> <#if step.type.container> <#macro dumpSteps step> <#assign vMargin = 0> <#assign vMargin = 0> <#assign fWeight = "normal"> <#assign noHoverSuffix = "-no-hover"> <#assign collapsible = ""> <#if step.hasScreenshot> <#assign collapsible = "collapsible"> <#assign noHoverSuffix = ""> <#if step.hasErrorMsg> <#assign collapsible = "collapsible"> <#assign noHoverSuffix = ""> <#if step.type.container> <#assign vMargin = 15> <#assign fWeight = "bolder"> <#assign indent = 25>
<#if "${step.resultState}" == "IGNORED">
${step.displayName} <#if step.hasScreenshot> <@stamp step/> <@anchor step/>
<#if step.hasScreenshot>
<#elseif "${step.resultState}" == "SUCCESSFUL">
${step.displayName} <#if step.hasScreenshot> <@stamp step/> <@anchor step/>
<#if step.hasScreenshot>
<#elseif "${step.resultState}" == "ABORTED">
${step.displayName} <#if step.hasScreenshot> <@stamp step/> <@anchor step/>
<#if step.hasScreenshot>
<#elseif "${step.resultState}" == "FAILED">
${step.displayName} <#if step.hasScreenshot> <@stamp step/> <@anchor step/>
<#if step.hasErrorMsg>
${step.errorMsg}
<#if step.hasScreenshot>
${step.stackTrace}
<#else>
${step.resultState.sign} ${step.displayName}
<#if step.hasScreenshot>
<#if step.hasSeeAlsoRefs> <#assign startComment=""> <#list step.seeAlsoRefs.refs as ref> <#noautoesc> ${startComment}${ref.className}${endComment} <#if step.hasNarrative>

${step.narrative.header}

<#list step.narrative.lines as line>

${line}

<#if "${step.type}" == "SPEC" || "${step.type}" == "FEATURE"> <#list step.stepsReversed as childStep> <#assign level++> <@dumpSteps childStep/> <#assign level--> <#else> <#list step.steps as childStep> <#assign level++> <@dumpSteps childStep/> <#assign level-->
<@dumpSteps step/>
<#include "prism-js.ftlh">




© 2015 - 2024 Weber Informatics LLC | Privacy Policy