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 Yaroslav.Halchenko
Recipients Yaroslav.Halchenko, brian.curtin, exarkun, fperez, michael.foord, ncoghlan, pitrou
Date 2010-05-11.14:10:14
SpamBayes Score 0.015056702
Marked as misclassified No
Message-id <20100511141011.GE20127@onerussian.com>
In-reply-to <1273583244.03.0.935975933623.issue7897@psf.upfronthosting.co.za>
Content
Hi Nick,

Am I reading your right, Are you suggesting to implement this
manual looping/collecting/reporting separately in every unittest
which needs that?

On Tue, 11 May 2010, Nick Coghlan wrote:
> Nick Coghlan <ncoghlan@gmail.com> added the comment:

> I agree with Michael - one test that covers multiple settings can easily be done by collecting results within the test itself and then checking at the end that no failures were detected (e.g. I've done this myself with a test that needed to be run against multiple input files - the test knew the expected results and maintained lists of filenames where the result was incorrect. At the end of the test, if any of those lists contained entries, the test was failed, with the error message giving details of which files had failed and why).
History
Date User Action Args
2010-05-11 14:10:16Yaroslav.Halchenkosetrecipients: + Yaroslav.Halchenko, exarkun, ncoghlan, pitrou, michael.foord, brian.curtin, fperez
2010-05-11 14:10:14Yaroslav.Halchenkolinkissue7897 messages
2010-05-11 14:10:14Yaroslav.Halchenkocreate