On 01:16 pm, fuzzy...@voidspace.org.uk wrote:
On 25/02/2011 19:00, exar...@twistedmatrix.com wrote:
On 06:47 pm, fuzzy...@voidspace.org.uk wrote:
On 25/02/2011 18:10, Vinay Sajip wrote:
What's the easiest way of finding which tests failed on buildbot
builds? I mean,
is there anything easier than using the Web interface to browse to
failing
builds and then looking at the stdio output in a browser?
That's one of the big advantages that Jenkins (nee Hudson) has over
buildbot - drilling down into individual test failures through the
web ui. Your test run needs to generate appropriate xml for that to
work though.
Buildbot can do this too. It can even do it without xml, although it
does need *some* parseable format, which I think the Python test suite
is a long way from.
That would be a great improvement to the Python buildbot
infrastructure. (Probably a bit small for a GSOC project on its own.)
I've had great success using pyjunitxml to generate Hudson compatible
reports from unittest test runs (extremely easy to use), and if
buildbot *can* handle junit xml format reports then it may be the path
of least resistance:
https://launchpad.net/pyjunitxml
I tried searching (both google and the buildbot docs) for ways to
generate more complete reports or to integrate junitxml with builbot,
but failed. Can you point me at anything?
I think this is the relevant pages in the buildbot manual for custom
reporting:
http://buildbot.net/buildbot/docs/latest/BuildStep-LogFiles.html
#BuildStep-LogFiles
There's also
http://buildbot.net/buildbot/docs/latest/SubunitShellCommand.html#SubunitShellCommand
which is basically the same idea as junitxml, but not actually junitxml
itself, so I'd probably go that way. However if you really need
junitxml for something, there are tools for converting between subunit
and junitxml.
Jean-Paul
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com