Message99129
| Author | michael.foord |
|---|---|
| Recipients | michael.foord |
| Date | 2010-02-09.17:11:42 |
| SpamBayes Score | 5.4354524e-07 |
| Marked as misclassified | No |
| Message-id | <1265735504.12.0.0790484553518.issue7893@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |