[TIP] nose --with-xunit mis-counting tests and missing test failures

Chris Withers chris at simplistix.co.uk
Sun Jan 8 10:04:23 PST 2012


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:

http://jenkins.simplistix.co.uk/job/testfixtures-buildout/lastCompletedBuild/PYTHON=2.7,label=linux/console

The commands being run in ./jenkins are:

$ cat jenkins
$PYTHON_EXE  bootstrap.py
bin/buildout
bin/nosetests --with-xunit

Here's what the xunit output made of it:
(and yes, the xml matches what jenkins is showing...)

http://jenkins.simplistix.co.uk/job/testfixtures-buildout/33/PYTHON=2.7,label=linux/testReport/

Why are only 26 tests being reported as run?
Why are none of the 7 failures showing up?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk



More information about the testing-in-python mailing list