Multi-page HTML report#

A multi-page HTML report of a test session can be generated after the session has completed:

$ canary run ./basic
...
$ canary report html create
INFO: HTML report written to TestResults/canary-report.html
$ cat TestResults/canary-report.html
<html>
<head>
<style>
table{font-family:arial,sans-serif;border-collapse:collapse;}
td, th {border: 1px solid #dddddd; text-align: left; padding: 8px; width: 100%}
tr:nth-child(even) {background-color: #dddddd;}
</style>
</head>
<body>
<h1>Canary Summary</h1>
<table>
<tr><th>Site</th><th>Project</th><th>Not Run</th><th>Timeout</th><th>Failed</th><th>Diffed</th><th>Success</th><th>Invalid</th><th>Cancelled</th><th>Total</th></tr>
<tr><td>build-32357075-project-1150422-canary-wm</td><td>None</td><td>0</td><td>0</td><td>0</td><td>0</td><td><a href="file:///home/docs/checkouts/readthedocs.org/user_builds/canary-wm/checkouts/release-26.4.16/src/canary/examples/TestResults/HTML/Success.html">2</a></td><td>0</td><td>0</td><td><a href="file:///home/docs/checkouts/readthedocs.org/user_builds/canary-wm/checkouts/release-26.4.16/src/canary/examples/TestResults/HTML/Total.html">2</a></td></tr>
</table>
</body>
</html>