[RFC] parsable test suite log

Robert Collins robertc at robertcollins.net
Tue Mar 25 03:21:20 GMT 2008


I'd like to do some machine processing of test suite runs.

In the first instance, I'd like to get a list of failed tests from the
previous run. The workflow I'm anticipating is:
a) write code
run some tests
loop a until code completed
b) run all tests with --record
c) take list of failures, fix one
run just the failures
loop c until no failures
loop b until no failures

Now, I have a serialisation format I prepared earlier: subunit. I could
plug this in trivially. subunits wire protocol records test runs and
could allow some nice introspection stuff in future.

Alternatively, I can do a custom serialisation format like vila proposed
for his fast-loading stuff; I'd rather not though.

Note that this isn't changing loading facilities at all - no shelf or
anything; its just about being able to get info about the prior test run
via python, rather than copy n paste.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080325/5efdf008/attachment.pgp 


More information about the bazaar mailing list