suiteXML.vm
1.32 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
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>$formatter.getFitNesseVersion()</FitNesseVersion>
<rootPath>$formatter.getRootPageName()</rootPath>
#foreach ($reference in $formatter.getPageHistoryReferences())
#set($executionReport = $formatter.getTestExecutionReport($reference))
#set($result = $executionReport.getResults().get(0))
<result>
<counts>
<right>$result.Right</right>
<wrong>$result.Wrong</wrong>
<ignores>$result.Ignores</ignores>
<exceptions>$result.Exceptions</exceptions>
</counts>
<runTimeInMillis>$result.RunTimeInMillis</runTimeInMillis>
<relativePageName>$result.RelativePageName</relativePageName>
<pageHistoryLink>$reference.getPageName()?pageHistory&resultDate=$reference.getResultDate()&format=xml</pageHistoryLink>
#if($result.Tags)
<tags>$result.Tags</tags>
#end
#if($formatter.shouldIncludeHtml())
<content><![CDATA[$result.Content]]></content>
#end
</result>
#end
<finalCounts>
<right>$formatter.getPageCounts().right</right>
<wrong>$formatter.getPageCounts().wrong</wrong>
<ignores>$formatter.getPageCounts().ignores</ignores>
<exceptions>$formatter.getPageCounts().exceptions</exceptions>
</finalCounts>
<totalRunTimeInMillis>$formatter.TotalRunTimeInMillis</totalRunTimeInMillis>
</testResults>