[pytest-dev] junitxml update

Rusty Howell rustyhowell at gmail.com
Tue Aug 14 14:18:07 EDT 2018

Hey all,
I am interested in working on junitxml. There are several bugs right now
relating to it.


In the comments in those bugs, there are some big ideas about the path
forward, but I'd like to have a more consolidated space for those ideas.
My end goal would be to have xml output that is compatible with the Jenkins
Junit Test Report plugin.  We may even have to support multiple versions of
the plugin. Additionally, there are certainly other xUnit style tools that
my be slightly different than Junit.

Ronny mentioned in one of the bugs the idea of Pytest creating a serialized
test log, and then have an Junitxml plugin consume the serialized data and
reformat/output as needed. To me it seems that perhaps this could be
analogous to logging Loggers and Handlers, where a handler could be
specific, like "Jenkins Junit Test Report v1.3" vs "Jenkins Junit Test
Report v1.4", or "Allure 2.6.0", etc.

What are the general thoughts on the path forward for junitxml?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20180814/437aa106/attachment.html>

More information about the pytest-dev mailing list