core-jgi/fitnesse/FitNesseRoot/files/templates/suiteExecutionReport.vm

66 lines
1.9 KiB
Plaintext

#set ($page_title = "Suite Execution Report")
#parse("pageHead.vm")
#if($suiteExecutionReport)
<h1>$suiteExecutionReport.getRootPath()</h1>
<table border="1" cellspacing="0">
<tr>
<td>$suiteExecutionReport.getDate()</td>
<td class="meta">FitNesse Version: $suiteExecutionReport.Version</td>
</tr>
</table>
<hr/>
#set($finalCounts = $suiteExecutionReport.FinalCounts)
#if($finalCounts)
<div id="test-summary">
<div id="progressBar" class="$suiteExecutionReport.summaryClass($finalCounts)">
<strong>Test Pages:</strong>
$finalCounts.Right right,
$finalCounts.Wrong wrong,
$finalCounts.Ignores ignored,
$finalCounts.Exceptions exceptions
#if($suiteExecutionReport.hasRunTimes())
($suiteExecutionReport.totalRunTimeInMillis ms)
#end
</div>
</div>
#end
<p/>
<table border="1" cellspacing="0">
<tr>
<th class="numeric">Right</th>
<th class="numeric">Wrong</th>
<th class="numeric">Ignored</th>
<th class="numeric">Exceptions</th>
<th>Page</th>
#if($suiteExecutionReport.hasRunTimes())
<th class="numeric">Run time (ms)</th>
#end
</tr>
#foreach($pageHistoryReference in $suiteExecutionReport.getPageHistoryReferences())
#set($counts = $pageHistoryReference.getTestSummary())
<tr class="$suiteExecutionReport.summaryClass($counts)">
<td class="numeric">
$counts.Right
</td>
<td class="numeric">
$counts.Wrong
</td>
<td class="numeric">
$counts.Ignores
</td>
<td class="numeric">
$counts.Exceptions
</td>
<td>
<a href="$pageHistoryReference.getPageName()?pageHistory&resultDate=$pageHistoryReference.getResultDate()">$pageHistoryReference.getPageName()</a>
</td>
#if($suiteExecutionReport.hasRunTimes())
<td class="numeric">
$pageHistoryReference.RunTimeInMillis
</td>
#end
</tr>
#end
</table>
#end
#parse("pageFooter.vm")