[Zope-dev] [Checkins] SVN: zope.testing/trunk/ when a test module does not define a test_suite, first try to load any unittest.TestCase descendants in it before complaining it does not contain any tests

Christian Theune ct at gocept.com
Mon Jul 27 06:55:02 EDT 2009


On 07/24/2009 02:02 PM, Benji York wrote:
> On Fri, Jul 24, 2009 at 2:38 AM, Wolfgang Schnerring<wosc at wosc.de>  wrote:
>> Log message for revision 102202:
>>   when a test module does not define a test_suite, first try to load
>> any unittest.TestCase descendants in it before complaining it does not
>> contain any tests
>
> I'd rather zope.testing support the test discovery protocol recently
> added to the Python standard library and backported as the "discover"
> module (http://pypi.python.org/pypi/discover).

Ah, I didn't know about that. I think it would be a good idea to put 
that on the zope.testing agenda in Launchpad.

Christian

-- 
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the Zope-Dev mailing list