nose_htmloutput

class nose_htmloutput.HtmlOutput[source]

Output test results as pretty html.

addError(test, err, capt=None)[source]

Add error output to Xunit report.

addFailure(test, err, capt=None)[source]

Add failure output to Xunit report.

configure(options, config)[source]

Configures the xunit plugin.

options(parser, env)[source]

Sets additional command line options.

report(stream)[source]

Writes an Xunit-formatted XML file

The file includes a report of test errors and failures.

nose_htmloutput.exc_message(exc_info)[source]

Return the exception’s message.

nose_htmloutput.nice_classname(obj)[source]

Returns a nice name for class object or class instance.

>>> nice_classname(Exception()) 
'...Exception'
>>> nice_classname(Exception) 
'...Exception'