xref: /freebsd/contrib/kyua/misc/index.html (revision 580744621f33383027108364dcadad718df46ffe)
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<!--
4  Copyright 2012 The Kyua Authors.
5  All rights reserved.
6
7  Redistribution and use in source and binary forms, with or without
8  modification, are permitted provided that the following conditions are
9  met:
10
11  * Redistributions of source code must retain the above copyright
12    notice, this list of conditions and the following disclaimer.
13  * Redistributions in binary form must reproduce the above copyright
14    notice, this list of conditions and the following disclaimer in the
15    documentation and/or other materials provided with the distribution.
16  * Neither the name of Google Inc. nor the names of its contributors
17    may be used to endorse or promote products derived from this software
18    without specific prior written permission.
19
20  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31-->
32
33<html>
34<head>
35  <title>Tests summary</title>
36  <link rel="stylesheet" type="text/css" href="%%css%%" />
37</head>
38
39<body>
40
41
42<h1>Summary of test results</h1>
43
44<p class="overall">Overall result:
45%if bad_tests_count
46  <font class="bad">%%bad_tests_count%% TESTS FAILING</font>
47%else
48  <font class="good">ALL TESTS PASSING</font>
49%endif
50</p>
51
52<table class="tests-count">
53  <thead>
54    <tr>
55      <td>Test case result</td>
56      <td>Count</td>
57    </tr>
58  </thead>
59
60  <tbody>
61%if length(broken_test_cases)
62    <tr class="bad">
63      <td><a href="#broken">Broken</a></td>
64      <td class="numeric">%%length(broken_test_cases)%%</td>
65    </tr>
66%else
67    <tr>
68      <td>Broken</td>
69      <td class="numeric">%%broken_tests_count%%</td>
70    </tr>
71%endif
72%if length(failed_test_cases)
73    <tr class="bad">
74      <td><a href="#failed">Failed</a></td>
75      <td class="numeric">%%length(failed_test_cases)%%</td>
76    </tr>
77%else
78    <tr>
79      <td>Failed</td>
80      <td class="numeric">%%failed_tests_count%%</td>
81    </tr>
82%endif
83    <tr>
84%if length(xfail_test_cases)
85      <td><a href="#xfail">Expected failures</a></td>
86%else
87      <td>Expected failures</td>
88%endif
89      <td class="numeric">%%xfail_tests_count%%</td>
90    </tr>
91    <tr>
92%if length(skipped_test_cases)
93      <td><a href="#skipped">Skipped</a></td>
94%else
95      <td>Skipped</td>
96%endif
97      <td class="numeric">%%skipped_tests_count%%</td>
98    </tr>
99    <tr>
100%if length(passed_test_cases)
101      <td><a href="#passed">Passed</a></td>
102%else
103      <td>Passed</td>
104%endif
105      <td class="numeric">%%passed_tests_count%%</td>
106    </tr>
107  </tbody>
108</table>
109
110<p><a href="context.html">Execution context</a></p>
111
112<p>Timing data:</p>
113
114<ul>
115  <li>Start time: %%start_time%%</li>
116  <li>End time: %%end_time%%</li>
117  <li>Duration: %%duration%%</li>
118</ul>
119
120
121%if length(broken_test_cases)
122<h2><a name="broken">Broken test cases</a></h2>
123
124<ul>
125%loop broken_test_cases iter
126  <li>
127    <a href="%%broken_test_cases_file(iter)%%">%%broken_test_cases(iter)%%</a>
128  </li>
129%endloop
130</ul>
131%endif
132
133
134%if length(failed_test_cases)
135<h2><a name="failed">Failed test cases</a></h2>
136
137<ul>
138%loop failed_test_cases iter
139  <li>
140    <a href="%%failed_test_cases_file(iter)%%">%%failed_test_cases(iter)%%</a>
141  </li>
142%endloop
143</ul>
144%endif
145
146
147%if length(xfail_test_cases)
148<h2><a name="xfail">Expected failures</a></h2>
149
150<ul>
151%loop xfail_test_cases iter
152  <li>
153    <a href="%%xfail_test_cases_file(iter)%%">%%xfail_test_cases(iter)%%</a>
154  </li>
155%endloop
156</ul>
157%endif
158
159
160%if length(skipped_test_cases)
161<h2><a name="skipped">Skipped test cases</a></h2>
162
163<ul>
164%loop skipped_test_cases iter
165  <li>
166    <a href="%%skipped_test_cases_file(iter)%%">%%skipped_test_cases(iter)%%</a>
167  </li>
168%endloop
169</ul>
170%endif
171
172
173%if length(passed_test_cases)
174<h2><a name="passed">Passed test cases</a></h2>
175
176<ul>
177%loop passed_test_cases iter
178  <li>
179    <a href="%%passed_test_cases_file(iter)%%">%%passed_test_cases(iter)%%</a>
180  </li>
181%endloop
182</ul>
183%endif
184
185
186</body>
187</html>
188