diff options
Diffstat (limited to 'report-generators/templates/unit_detail.rhtml')
-rw-r--r-- | report-generators/templates/unit_detail.rhtml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/report-generators/templates/unit_detail.rhtml b/report-generators/templates/unit_detail.rhtml new file mode 100644 index 00000000..5324f07c --- /dev/null +++ b/report-generators/templates/unit_detail.rhtml @@ -0,0 +1,37 @@ +<table width="95%" cellspacing="2" cellpadding="5" border="0" class="stripes"> +<tr><th>Test</th><th>Result</th></tr> +<tr> + <td> + <%= t.desc %> + </td> + <% if t.status.success? %> + <td class="pass">pass</td> + <% else %> + <td class="fail">fail</td> + <% end %> +</tr> +</table> + +<table width="95%" cellspacing="2" cellpadding="5" border="0" class="stripes"> +<tr><th>Command line</th></tr> +<tr> + <td> + <pre> +<%= t.command_line %> + </pre> + </td> +</tr> +</table> + + +<table width="95%" cellspacing="2" cellpadding="5" border="0" class="stripes"> +<tr><th>Output</th></tr> +<tr> + <td> + <pre> +<%= t.output %> + </pre> + </td> +</tr> +</table> + |