suiteExecutionReport.vm
1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#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")