Message99129
A common way to extend unittest is to implement a custom TestResult. Currently you have to subclass TextTestRunner, overriding _makeResult, to get it to use an alternative result class.
I suggest adding an additional, optional, argument to TextTestRunner to specify an alternative result class (or callable) that will be used by _makeResult. This will permit the use of custom test result objects without having to subclass. |
|
Date |
User |
Action |
Args |
2010-02-09 17:11:44 | michael.foord | set | recipients:
+ michael.foord |
2010-02-09 17:11:44 | michael.foord | set | messageid: <1265735504.12.0.0790484553518.issue7893@psf.upfronthosting.co.za> |
2010-02-09 17:11:42 | michael.foord | link | issue7893 messages |
2010-02-09 17:11:42 | michael.foord | create | |
|