This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:44michael.foordsetrecipients: + michael.foord
2010-02-09 17:11:44michael.foordsetmessageid: <1265735504.12.0.0790484553518.issue7893@psf.upfronthosting.co.za>
2010-02-09 17:11:42michael.foordlinkissue7893 messages
2010-02-09 17:11:42michael.foordcreate