[TIP] ANNOUNCE: pyjunitxml

Olemis Lang olemis at gmail.com
Wed Aug 12 10:17:40 PDT 2009

On Wed, Aug 12, 2009 at 11:52 AM, Kumar
McMillan<kumar.mcmillan at gmail.com> wrote:
> On Sat, Aug 1, 2009 at 2:48 AM, Robert Collins<robertc at robertcollins.net> wrote:
>> I've created a very lean junit xml style reporter for pyunit. The JUnit
>> format is unfortunately undocumented, which means supporting it is a
>> matter of waiting for bugs from people that find it interoperates badly
>> with other tools :(.
>> Anyhow, its useful for folk integrating with Java build systems and the
>> like. My implementation has some similarities to other, existing
>> extensions of this sort, with a few key differences:
>>  - I use stopTestRun so the standard API for running tests is all that
>>   is needed
>>  - there is no runner or other duplicated framework - this is as
>>   minimal and focused as possible.
>>  - supports the entire current pyunit TestResult protocol
> For people running tests using Nose, there has been support since 0.11
> for XUnit style output:
> http://somethingaboutorange.com/mrl/projects/nose/0.11.1/plugins/xunit.html
>  Just thought I'd mention it since we have made some tweaks here and
> there to get stderr and stdout to work, unicode, escaping, Jython, and
> probably a few other edge cases.

If you'r saying that nose outputs the same or similar XML format (it's
not very clear to me after I read your message), well It seems that
BItten guys are using it somehow [1]_ . Isnt it ?

.. [1] Enable bitten to use nose unittests



Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

More information about the testing-in-python mailing list