[TIP] skipped testcases not reported in JUnit XML
robertc at robertcollins.net
Sat Mar 19 12:43:42 PDT 2011
On Sun, Mar 20, 2011 at 6:11 AM, holger krekel <holger at merlinux.eu> wrote:
> Hi Pere,
> thanks for reporting. If i understand it right you ask for
> a message attribute for the skip element in junitxml output.
> I just implemented it and you can install a development snapshot via
> pip install -i http://pypi.testrun.org -U pytest
> (py.test --version should give you 2.0.3.dev3).
> Please let me know if this works for you. I am still a bit
> unsure about the JunitXML standards out there - for one, Jenkins
> (formerly Hudson) does not seem to recognize skip-messages.
There isn't a standard, just be lenient in what you accept ;) - I had
exactly the same problem in the junitxml module.
More information about the testing-in-python