Package bitten :: Package util :: Module testrunner :: Class XMLTestResult

Class XMLTestResult

          object --+        
                   |        
 unittest.TestResult --+    
                       |    
unittest._TextTestResult --+
                           |
                          XMLTestResult

Instance Methods
 
__init__(self, stream, descriptions, verbosity)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
startTest(self, test)
Called when the given test is about to be run
 
stopTest(self, test)
Called when the given test has been run

Inherited from unittest._TextTestResult: addError, addFailure, addSuccess, getDescription, printErrorList, printErrors

Inherited from unittest.TestResult: __repr__, stop, wasSuccessful

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

Class Variables

Inherited from unittest._TextTestResult: separator1, separator2

Properties

Inherited from object: __class__

Method Details

__init__(self, stream, descriptions, verbosity)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

startTest(self, test)

 
Called when the given test is about to be run
Overrides: unittest.TestResult.startTest
(inherited documentation)

stopTest(self, test)

 
Called when the given test has been run
Overrides: unittest.TestResult.stopTest
(inherited documentation)