testResults.vm
2.41 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?xml version="1.0"?>
<testResults>
<FitNesseVersion>$response.Version</FitNesseVersion>
<rootPath>$response.RootPath</rootPath>
#foreach ($result in $response.Results)
<result>
<counts>
<right>$result.Right</right>
<wrong>$result.Wrong</wrong>
<ignores>$result.Ignores</ignores>
<exceptions>$result.Exceptions</exceptions>
</counts>
<runTimeInMillis>$result.RunTimeInMillis</runTimeInMillis>
<content><![CDATA[$result.Content]]></content>
<relativePageName>$result.RelativePageName</relativePageName>
#if($result.Tags)
<tags>$result.Tags</tags>
#end
#if($result.Tables.size() > 0)
<tables>
#foreach($table in $result.Tables)
<table>
<name>$table.Name</name>
#foreach($row in $table)
<row>
#foreach($col in $row)
<col><![CDATA[$col]]></col>
#end
</row>
#end
</table>
#end
</tables>
#end
#if($result.Instructions.size() > 0)
<instructions>
#foreach($instructionResult in $result.Instructions)
<instructionResult>
<instruction><![CDATA[$instructionResult.Instruction]]></instruction>
<slimResult><![CDATA[$instructionResult.SlimResult]]></slimResult>
#foreach($expectation in $instructionResult.Expectations)
<expectation>
<status>$expectation.Status</status>
<instructionId>$expectation.InstructionId</instructionId>
<col>$expectation.Col</col>
<row>$expectation.Row</row>
<type>$expectation.Type</type>
#if($expectation.Actual)
<actual><![CDATA[$expectation.Actual]]></actual>
#end
#if($expectation.Expected)
<expected><![CDATA[$expectation.Expected]]></expected>
#end
#if($expectation.EvaluationMessage)
<evaluationMessage><![CDATA[$expectation.EvaluationMessage]]></evaluationMessage>
#end
</expectation>
#end
</instructionResult>
#end
</instructions>
#end
</result>
#end
#if($response.FinalCounts)
<finalCounts>
<right>$response.FinalCounts.Right</right>
<wrong>$response.FinalCounts.Wrong</wrong>
<ignores>$response.FinalCounts.Ignores</ignores>
<exceptions>$response.FinalCounts.Exceptions</exceptions>
</finalCounts>
<totalRunTimeInMillis>$response.TotalRunTimeInMillis</totalRunTimeInMillis>
#end
</testResults>