-
Committer:
Jonathan Lange
-
Date:
2011-11-17 15:45:10 UTC
-
mfrom:
(138.2.38 delta-in-summary)
-
Revision ID:
jml@canonical.com-20111117154510-wc1yrozx3jy9lqlu
Show a delta between the last run and the run before it on 'testr load',
'testr run' and 'testr last'.
Mostly achieved by extending the UI interface such that make_result now
accepts an optional previous test run.
Known Issues
============
* AutoTimingTestResultDecorator inserts current clock data into the
stream, which makes predictable testing of times hard. So in a couple
of places I circumvented it.
* AutoTimingTestResultDecorator causes 'testr last' to report a
different time to 'testr load' for the same run (generally ~0.1s
longer). This means that the time delta is a bit useless. Removing
the AutoTimingTestResultDecorator fixes this. Haven't dug into
exactly why.