
freemarker.components.test-outcomes.ftl Maven / Gradle / Ivy
<#macro test_results(testOutcomes, title, id)>
<#--- Test Results -->
${title}
Tests
Steps
<#if reportOptions.showStepDetails>
Fail
Error
Comp
Pend
Ignore
Skip
#if>
Duration
(seconds)
<#assign testResultSet = testOutcomes.tests >
<#foreach testOutcome in testResultSet>
<#assign test_outcome_icon = formatter.resultIcon().forResult(testOutcome.result) />
<#assign exampleCount = "" />
<#if testOutcome.dataDriven>
<#assign exampleCount> (${testOutcome.dataTable.size} examples)#assign>
#if>
<#if (testOutcome.manual)>#if>
${testOutcome.nestedStepCount}
<#if reportOptions.showStepDetails>
${testOutcome.failureCount}
${testOutcome.errorCount}
${testOutcome.compromisedCount}
${testOutcome.pendingCount}
${testOutcome.skippedCount}
${testOutcome.ignoredCount}
#if>
${testOutcome.durationInSeconds}
#foreach>