Automated testing
Thomas Hervé
thomas.herve at canonical.com
Wed Aug 24 16:51:29 UTC 2011
On 24/08/2011 18:29, Jim Baker wrote:
> On 08/23/2011 07:32 AM, Gustavo Niemeyer wrote:
>> Jim,
>>
>> Can you please update us on how the automated run and reporting of
>> functional tests is going?
>>
>> Thanks in advance,
> Gustavo,
>
> Work commenced on this yesterday. I'm in the process of setting up the
> following:
>
> * Making JUnit XML output available when running tests. (Regardless of
> its merits, JUnit XML is a standard reporting format for CI systems,
> and is rather trivial to support as seen in this code
> http://pypi.python.org/pypi/XmlTestRunner/). However, it is
> necessary to do this through Twisted Trial and its plugin system for
> adding new reporters. This work is nearly complete.
If you use a recent enough twisted, you can use the subunit reporter
(trial --reporter=subunit) and then pipe this into subunit2junitxml.
Hopefully no code involved :).
--
Thomas
More information about the Ensemble
mailing list