view bitten/templates/bitten_summary_tests.html @ 503:a7c795920c4a

Merging trac-0.11 branch to trunk. This revision is equivalent to [571].
author wbell
date Mon, 09 Mar 2009 00:46:14 +0000
parents
children 6b4def531a4e
line wrap: on
line source
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/" py:strip="">
 <body py:strip="">
  <h3>Test Results</h3>
  <table class="listing tests">
   <thead><tr>
    <th>Test Fixture</th><th>Total</th>
    <th>Failures</th><th>Errors</th>
   </tr></thead>
   <tbody><tr py:for="item in data.fixtures"
              class="${item.num_failure or item.num_error and 'failed' or None}">
    <th py:choose="">
     <a py:when="item.href" href="$item.href">$item.name</a>
     <py:otherwise>$item.name</py:otherwise>
    </th>
    <td>${item.num_success + item.num_failure + item.num_error}</td>
    <td>$item.num_failure</td>
    <td>$item.num_error</td>
   </tr></tbody>
   <tbody class="totals"><tr py:with="totals = data.totals">
    <th>Total</th>
    <td>$totals.success</td>
    <td>$totals.failure</td>
    <td>$totals.error</td>
   </tr></tbody>
  </table>
 </body>
</html>
Copyright (C) 2012-2017 Edgewall Software