freemarker.release.ftl Maven / Gradle / Ivy
${release.name}
<#include "libraries/favicon.ftl">
<#include "libraries/common.ftl">
<#include "libraries/jquery-ui.ftl">
<#include "libraries/datatables.ftl">
<#include "libraries/jqtree.ftl">
Releases
<#foreach parent in release.parents>
> ${parent.name}
#foreach>
>
${release.name}
<#include "menu.ftl">
<@main_menu selected="releases" />
Release Details
<#foreach parent in release.parents>
> ${parent.name}
#foreach>
 :
<#assign releaseTestReport = reportName.withPrefix(currentTag).forTestResult("pending") >
<#--- Requirements -->
<#if secondLevelRequirementTypeTitle??>
${requirementType}
${secondLevelRequirementTypeTitle}
<#else>
${requirementType}
#if>
Total.
Tests
%Pass
Auto.
Tests
%Pass
<#if reportOptions.showManualTests>
Manual
Tests
%Pass
#if>
<#foreach requirementOutcome in releaseRequirementOutcomes>
<#if requirementOutcome.testOutcomes.stepCount == 0 || requirementOutcome.testOutcomes.result == "PENDING" || requirementOutcome.testOutcomes.result == "IGNORED">
<#assign status_icon = "traffic-yellow.gif">
<#assign status_rank = 0>
<#elseif requirementOutcome.testOutcomes.result == "ERROR">
<#assign status_icon = "traffic-orange.gif">
<#assign status_rank = 1>
<#elseif requirementOutcome.testOutcomes.result == "FAILURE">
<#assign status_icon = "traffic-red.gif">
<#assign status_rank = 2>
<#elseif requirementOutcome.testOutcomes.result == "SUCCESS">
<#assign status_icon = "traffic-green.gif">
<#assign status_rank = 3>
#if>
<#assign requirementReport = reportName.forRequirement(requirementOutcome.requirement) >
${requirementOutcome.requirement.name}
<#if secondLevelRequirementTypeTitle??>
<#foreach childRequirement in requirementOutcome.requirement.children>
<#assign childRequirementReport = reportName.forRequirement(childRequirement) >
-
${childRequirement.name}
#foreach>
#if>
<#assign totalAutomated = requirementOutcome.tests.count("AUTOMATED").withAnyResult()/>
<#assign automatedPassed = requirementOutcome.tests.count("AUTOMATED").withResult("SUCCESS")/>
<#assign automatedPending = requirementOutcome.tests.count("AUTOMATED").withIndeterminateResult()/>
<#assign automatedFailed = requirementOutcome.tests.count("AUTOMATED").withResult("FAILURE")/>
<#assign automatedError = requirementOutcome.tests.count("AUTOMATED").withResult("ERROR")/>
<#if (totalAutomated > 0) >
<#assign automatedPercentagePassed = (automatedPassed / totalAutomated)/>
<#else>
<#assign automatedPercentagePassed = 0.0/>
#if>
<#assign totalManual = requirementOutcome.tests.count("MANUAL").withAnyResult()/>
<#assign manualPending = requirementOutcome.tests.count("MANUAL").withIndeterminateResult()/>
<#assign manualPassed = requirementOutcome.tests.count("MANUAL").withResult("SUCCESS")/>
<#assign manualFailed = requirementOutcome.tests.count("MANUAL").withResult("FAILURE")/>
<#assign manualError = requirementOutcome.tests.count("MANUAL").withResult("ERROR")/>
<#if (totalManual > 0)>
<#assign manualPercentagePassed = (manualPassed / totalManual)/>
<#else>
<#assign manualPercentagePassed = 0.0/>
#if>
<#assign totalTests = totalAutomated + totalManual/>
<#if (totalTests > 0)>
<#assign percentagePassed = ((automatedPassed + manualPassed) / totalTests)/>
<#else>
<#assign percentagePassed = 0.0/>
#if>
<#if (automatedFailed + automatedError > 0)>
<#assign automatedColor = "redtext"/>
<#elseif (automatedPending > 0)>
<#assign automatedColor = "bluetext"/>
<#elseif (totalAutomated == 0)>
<#assign automatedColor = "bluetext"/>
<#else>
<#assign automatedColor = "greentext"/>
#if>
<#if (automatedFailed + automatedError + manualFailed + manualError > 0)>
<#assign totalColor = "redtext"/>
<#elseif (automatedPending + manualPending > 0)>
<#assign totalColor = "bluetext"/>
<#elseif (totalAutomated == 0)>
<#assign totalColor = "bluetext"/>
<#else>
<#assign totalColor = "greentext"/>
#if>
${totalTests}
${percentagePassed?string.percent}
${totalAutomated}
${automatedPercentagePassed?string.percent}
${automatedPassed}
${automatedPending}
${automatedFailed}
${automatedError}
<#if reportOptions.showManualTests>
<#if (manualFailed + manualError > 0)>
<#assign manualColor = "redtext"/>
<#elseif (manualPending > 0)>
<#assign manualColor = "bluetext"/>
<#elseif (totalManual == 0)>
<#assign manualColor = "bluetext"/>
<#else>
<#assign manualColor = "greentext"/>
#if>
${totalManual}
${manualPercentagePassed?string.percent}
${manualPassed}
${manualPending}
${manualFailed}
${manualError}
#if>
#foreach>
<#if releaseTestOutcomes.tests?has_content >
<#--- Test Results -->
Tests
Steps
<#if reportOptions.showStepDetails>
Fail
Errors
Pend
Ignore
Skip
#if>
Duration
(seconds)
<#assign testResultSet = releaseTestOutcomes.tests >
<#foreach testOutcome in testResultSet>
<#if testOutcome.result == "PENDING" || testOutcome.result == "IGNORED">
<#assign testrun_outcome_icon = "pending.png">
<#elseif testOutcome.result == "FAILURE">
<#assign testrun_outcome_icon = "fail.png">
<#elseif testOutcome.result == "ERROR">
<#assign testrun_outcome_icon = "cross.png">
<#elseif testOutcome.result == "SUCCESS">
<#assign testrun_outcome_icon = "success.png">
<#else>
<#assign testrun_outcome_icon = "ignor.png">
#if>
<#if (testOutcome.manual)>
#if>
${testOutcome.unqualified.titleWithLinks} ${testOutcome.formattedIssues}
${testOutcome.nestedStepCount}
<#if reportOptions.showStepDetails>
${testOutcome.failureCount}
${testOutcome.errorCount}
${testOutcome.pendingCount}
${testOutcome.skippedCount}
${testOutcome.ignoredCount}
#if>
${testOutcome.durationInSeconds}
#foreach>
#if>
© 2015 - 2025 Weber Informatics LLC | Privacy Policy