[Grok-dev] Re: zope.testing autodiscovery

Wolfgang Schnerring wosc at wosc.de
Tue Jun 24 00:48:22 EDT 2008


* Wolfgang Schnerring <wosc at wosc.de>:
> * Christian Theune <ct at gocept.com>:
>> Better test discovery and getting rid of the need of test_suite() is another
>> refactoring/feature I want to perform on zope.testing.
>
> I'd definitely like to see this; having to explicitly list test cases is grating
> on my nerves. I've tweaked find_suites() a little to handle the easy but common
> case (which saves me an awful lot of un-DRY typing, nonentheless), namely
> modules containing unittest.TestCases, see the attached patch.

Never mind. After reading http://grok.zope.org/documentation/how-to/tests-with-grok-testing
which was linked from the Grok 0.13 release notes, I realized that z3c.testsetup
already does all this and more. %-)

Wolfgang



More information about the Grok-dev mailing list