[TIP] skipped testcases not reported in JUnit XML
holger at merlinux.eu
Sat Mar 19 12:57:53 PDT 2011
On Sun, Mar 20, 2011 at 08:43 +1300, Robert Collins wrote:
> 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.
Heh, I wouldn't mind a python testing related standard - the java related
junitxml stuff is too minimal IMO. And then get someone to improve
Jenkins to use the information.
More information about the testing-in-python