[TIP] [nose-users] nose --with-xunit mis-counting tests and missing test failures
jpellerin at gmail.com
Mon Jan 9 06:25:54 PST 2012
I use xunit with jenkins all the time for dozens of projects and have
never seen anything like this, so I'm sort of flying blind. :(
But if the xml output matches what jenkins is seeing, that suggests
that the xunit plugin isn't seeing most of the tests, which I'd guess
would be due to some part of the pretty complex case wrapping that
nose does not being there for some reason. Either the nose runner or
result or contextSuite or test case wrapper is somehow not in place,
due to something about the way tests are run or the project under
test. That's my best guess, at least.
On Sun, Jan 8, 2012 at 1:04 PM, Chris Withers <chris at simplistix.co.uk> wrote:
> Hi All,
> Slightly puzzled about this, but the nose xunit plugin appears to be missing
> test failures and incorrectly counting tests.
> Here's the console output:
> The commands being run in ./jenkins are:
> $ cat jenkins
> $PYTHON_EXE bootstrap.py
> bin/nosetests --with-xunit
> Here's what the xunit output made of it:
> (and yes, the xml matches what jenkins is showing...)
> Why are only 26 tests being reported as run?
> Why are none of the 7 failures showing up?
> Simplistix - Content Management, Batch Processing & Python Consulting
> - http://www.simplistix.co.uk
> You received this message because you are subscribed to the Google Groups
> "nose-users" group.
> To post to this group, send email to nose-users at googlegroups.com.
> To unsubscribe from this group, send email to
> nose-users+unsubscribe at googlegroups.com.
> For more options, visit this group at
More information about the testing-in-python