view bitten/trac_ext/templates/bitten_summary_tests.cs @ 174:79c61c26a4e1

* Changed the `IReportStore` interface to allow querying with [http://www.w3.org/XML/Query/ XQuery]. This should make it possible to efficiently query the report store for any existing metrics. * The objects yielded by the `BDBXMLBackend` of the report store no longer re-parse the returned documents/elements using the Python `minidom` API. Instead, the `XmlValue` objects returned by BDB XML are wrapped in an adapter that provides compatibility with `bitten.util.xmlio.ParsedElement`. * The summarizers for code coverage and test results (introduced in r169) are now based on an abstract base class that executes an arbitrary XQuery query, and maps the results to the HDF. * The templates for these two summarizers are now stored in separated files and can thus be overridden by the project admin.
author cmlenz
date Tue, 30 Aug 2005 18:44:55 +0000
parents
children e6ddca1e5712
line wrap: on
line source
<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><?cs
 each:item = data ?><tr><td><a href="<?cs
  var:item.href ?>"><?cs var:item.name ?></a></td><td><?cs
  var:#item.success + #item.failures + #item.errors ?></td><td><?cs
  var:item.failures ?></td><td><?cs
  var:item.errors ?></td></tr><?cs
 /each ?></tbody>
</table>
Copyright (C) 2012-2017 Edgewall Software