Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
finesse
pykat
Commits
dbd0dd1c
Commit
dbd0dd1c
authored
Aug 08, 2013
by
Daniel Brown
Browse files
changed list for table in test output
parent
87346dd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
pykat/testing/web/templates/finesse_test_view.html
View file @
dbd0dd1c
...
...
@@ -18,28 +18,45 @@
<h3>
Kat result summary
</h3>
<h4>
Results
</h4>
{% for suite in kats.keys() %}
<ul>
<li>
{{ suite }}
</li>
<ul>
{% for item in kats[suite] %}
<li><span
style=
"display:inline-block;width: 300px"
>
{{item[0]}}
</span>
<a
href=
"/finesse/kat/{{suite}}/{{item[0]}}"
>
Kat
</a>
<a
href=
"/finesse/out/{{view_test_id}}/{{suite}}/{{item[0]}}"
>
Out
</a>
<a
href=
"/finesse/ref/{{suite}}/{{item[0]}}"
>
Ref
</a>
<a
href=
"/finesse/view/{{view_test_id}}/diff/{{suite}}/{{item[0]}}"
>
Diff
</a>
<a
href=
"/finesse/kat_history/{{suite}}/{{item[0]}}"
>
History
</a>
Max rel diff = {{item[1]}}
</li>
{% if item[2][0] != "" %}
<ul>
<li>
stdout:
<pre>
{{item[2][0]}}
</pre></li>
<li>
stderr:
<pre>
{{item[2][1]}}
</pre></li>
</ul>
{% endif %}
{% endfor %}
</ul>
</ul>
{% endfor %}
<table
id=
"tblResults"
>
<thead>
<td>
Suite
</td>
<td>
Kat
</td>
<td>
Max Rel. Difference
</td>
<td>
View .kat
</td>
<td>
View .out
</td>
<td>
View ref
</td>
<td>
View Diff
</td>
<td>
View History
</thead>
{% for suite in kats.keys() %}
{% for item in kats[suite] %}
<tr>
<td>
{{ suite }}
</td>
<td>
{{item[0]}}
</td>
<td>
{{item[1]}}
</td>
<td><a
href=
"/finesse/kat/{{suite}}/{{item[0]}}"
>
Kat
</a></td>
<td><a
href=
"/finesse/out/{{view_test_id}}/{{suite}}/{{item[0]}}"
>
Out
</a></td>
<td><a
href=
"/finesse/ref/{{suite}}/{{item[0]}}"
>
Ref
</a></td>
<td><a
href=
"/finesse/view/{{view_test_id}}/diff/{{suite}}/{{item[0]}}"
>
Diff
</a></td>
<td><a
href=
"/finesse/kat_history/{{suite}}/{{item[0]}}"
>
History
</a></td>
</tr>
{% endfor %}
{% endfor %}
</table>
</div>
</body>
<script
type=
"text/JavaScript"
src=
"http://code.jquery.com/jquery-1.10.1.min.js"
></script>
<script
type=
"text/JavaScript"
src=
"http://code.jquery.com/ui/1.10.3/jquery-ui.js"
></script>
<script
type=
"text/javascript"
charset=
"utf8"
src=
"http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/jquery.dataTables.min.js"
></script>
<script
type=
"text/JavaScript"
>
$
(
document
).
ready
(
function
(){
gtable
=
$
(
'
#tblResults
'
).
dataTable
();
});
</script>
</html>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment