[RFC] selftest xml output

Guillermo Gonzalez guillo.gonzo at gmail.com
Sun Oct 19 04:10:41 BST 2008


Hi Matt, Marius,

On Sat, Oct 18, 2008 at 11:58 AM, Matt McClure <mlm at aya.yale.edu> wrote:
> On Fri, Oct 17, 2008 at 3:28 PM, Guillermo Gonzalez <guillo.gonzo at gmail.com>
> wrote:
>>
>> I want to ask if it's desirable to include this kind of funcitonality
>> in the core or if should stay as a plugin.
>> In the case to stick it with the plugin approach, some of the selftest
>> code need some changes to allow plug some kind of collector to get the
>> test result/s, I didn't find this kind feature in selftest, but I
>> might missed something :)
>>
>> Is such feature inplace?
>> if not, I'll be pleased to work on it. what do you think about adding
>> this (allow plug a kind of collector) to selftest?
>
> I'd like to see this in the core as something like
>
> bzr selftest --xml

Indeed that a --xml option to selftest makes more sense in the case of
--no-plugins.

I have a local branch of bzr that provides 'bzr selftest --xml'
option, I just moved it into a plugin to make it easier to others to
peek what it's all about.

I'm currently using this to run the tests (and pylint) of xmloutput
against the current bzr.dev
(more plugins comming soon ;) so I don't need the --xml option to use
it with --no-plugins. But if this is useful to bzr itself, I'll be
pleased to work on this feature.

Cheers,

--Guillermo



More information about the bazaar mailing list