#if>
<@num block+1/>
<#if (testsCount>0)>
<#local iterate = 0/>
<#list testPathList as path>
Test:
${path}
<#if (testCntList[iterate]>-1)>
<#else>
#if>
<#if coverage.hasErrors(node.getQualifiedId(),path)>
Наименование ошибки
Описание ошибки
<#local errors_names=coverage.getErrorNamesForNodeAndTest(node.getQualifiedId(),path)/>
<#local errors_desc=coverage.getErrorDescriptionsForNodeAndTest(node.getQualifiedId(),path)/>
<#local errors_links=coverage.getErrorLinksForNodeAndTest(node.getQualifiedId(),path)/>
<#list 0..errors_names?size-1 as i>
<#local error_name=(errors_names[i])>
<#local error_desc=errors_desc[i]>
<#local error_link=errors_links[i]>
<#if error_link!="">${error_name} <#else>${error_name}#if>
${error_desc}
#list>
#if>
<#if (testCntList[iterate]>-1)>
Hits:
${testCntList[iterate]}
#if>
<#local iterate = iterate + 1/>
#list>
#if>
<#if (hasChild!0) != 0>
<#if node.getDescription(reportLocation)?has_content>
${utils.htmlSpaces(node.getDescription(reportLocation))}
<#else>
<#if node.getType() == "Requirement">
<#list node.getLocations() as location>
<#if (li!0) != 0>
...
#if>
<#if !location.isHidden()>
${utils.htmlSpaces(location.getDescription(reportLocation))}
#if>
<#local li = 1/>
#list>
#if>
#if>
<#local childrenTestPurposeList = node.getSortedChildren("TestPurpose")/>
<#if childrenTestPurposeList?size != 0>
Номер
Описание
Ожидаемые результаты
Teсты
Статус
<#list childrenTestPurposeList as childTestPurpose>
<@getCoverageClass childTestPurpose/>
${utils.htmlEscape(childTestPurpose.getId())}
${utils.htmlSpaces(childTestPurpose.getDescription(reportLocation))!""}
${utils.htmlSpaces(childTestPurpose.getExpectedResults(reportLocation))}
<#local testsCount = coverage.getCoverageTestCount(childTestPurpose.getQualifiedId())/>
<#local testPathList = coverage.getCoveragePaths(childTestPurpose.getQualifiedId())/>
<#local testCntList = coverage.getCoverageCounts(childTestPurpose.getQualifiedId())/>
<#if (testsCount>1)>
Развернуть список тестов
#if>
<#if showbuttons>
Add test #if>
<#if (testsCount>0)>
<#local iterate = 0/>
<#if (testsCount>1)>#if>
<#list testPathList as path>
Test:
${path}
<#if (testCntList[iterate]>-1)>
Hits:
${testCntList[iterate]}
#if>
<#if coverage.hasErrors(childTestPurpose.getQualifiedId(),path)>
<#local errors_names=coverage.getErrorNamesForNodeAndTest(childTestPurpose.getQualifiedId(),path)/>
<#local errors_desc=coverage.getErrorDescriptionsForNodeAndTest(childTestPurpose.getQualifiedId(),path)/>
<#local errors_links=coverage.getErrorLinksForNodeAndTest(childTestPurpose.getQualifiedId(),path)/>
Errors:
<#list 0..errors_names?size-1 as i>
<#local error_name=(errors_names[i])>
<#local error_desc=errors_desc[i]>
<#local error_link=errors_links[i]>
#list>
#if>
<#local iterate = iterate + 1/>
#list>
<#if (testsCount>1)>
<@num block+1/>
#if>
#if>
${childTestPurpose.getAttributeValue("_status", "")}
#list>
#if>
<#list childrenList as child>
<#if child.getType() = "Requirement">
#if>
#list>
<#else>
<#if node.getDescription(reportLocation)?has_content>
${utils.htmlSpaces(node.getDescription(reportLocation))}
<#else>
<#if node.getType()=="Requirement">
<#list node.getLocations() as location>
<#if (li!0) != 0 >
...
#if>
<#if !location.isHidden()>
${utils.htmlSpaces(location.getDescription(reportLocation))}
#if>
<#local li = 1/>
#list>
#if>
#if>
#if>
#macro>
<#macro statistic req>
<#assign rev = statman.getArrayData(req, coverage)/>
<#if coverageFilePath?? || coverageStorageType??>
<#if coverage.loadStorage()>
<#if noAddTestButtons?? && noAddTestButtons!="false">
<#global showbuttons = false>
<#else>
<#global showbuttons = true>
#if>
<@num 0/>
<@statistic rootReq/>
<@showreq rootReq 1/>
<#else>
<#if coverageFilePath??>
Coverage information cannot be loaded from ${coverageFilePath}. Errors: ${coverage.getLastErrors()}
<#else>
Coverage information cannot be loaded from chosen source. Errors: ${coverage.getLastErrors()}
#if>
#if>
<#else>
There is no source of coverage information.
If using Eclipse plugin please press 'Update Coverage Source' button on report settings' properties.
If using console mode please set 'coverageFilePath' parameter as -coverageFilePath="path to coverage info file".
#if>