Package unittests :: Module HTMLTestRunner :: Class HTMLTestRunner
[hide private]
[frames] | no frames]

Class HTMLTestRunner

source code

    object --+    
             |    
Template_mixin --+
                 |
                HTMLTestRunner

Instance Methods [hide private]
 
__init__(self, stream=sys.stdout, verbosity=1, title=None, description=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
run(self, test)
Run the given test case or test suite.
source code
 
sortResult(self, result_list) source code
 
getReportAttributes(self, result)
Return report attributes as a list of (name, value).
source code
 
generateReport(self, test, result) source code
 
_generate_stylesheet(self) source code
 
_generate_heading(self, report_attrs) source code
 
_generate_report(self, result) source code
 
_generate_report_test(self, rows, cid, tid, n, t, o, e) source code
 
_generate_ending(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from Template_mixin: DEFAULT_DESCRIPTION, DEFAULT_TITLE, ENDING_TMPL, HEADING_ATTRIBUTE_TMPL, HEADING_TMPL, HTML_TMPL, REPORT_CLASS_TMPL, REPORT_TEST_NO_OUTPUT_TMPL, REPORT_TEST_OUTPUT_TMPL, REPORT_TEST_WITH_OUTPUT_TMPL, REPORT_TMPL, STATUS, STYLESHEET_TMPL

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, stream=sys.stdout, verbosity=1, title=None, description=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

getReportAttributes(self, result)

source code 

Return report attributes as a list of (name, value). Override this to add custom attributes.