[Zope3-checkins] Re: [Checkins] SVN:
zope.testing/branches/test-checkers/src/zope/testing/testrunner.py
Add a --checkers option. You pass a Python module name (e.g.
Marius Gedminas
mgedmin at b4net.lt
Sat Jan 20 12:46:36 EST 2007
On Sat, Jan 20, 2007 at 10:10:40AM -0500, Benji York wrote:
> Marius Gedminas wrote:
> >Log message for revision 72145:
> > Add a --checkers option.
>
> I like it!
>
> I'd like it if an extensive set were integrated into zope.testing and
> there were a switch like --check-teardown. That way people don't have
> to know what the full inventory of checkers is and can just see if their
> tests offend any of them.
Let's take a concrete example. Imagine that I have a checker that looks
for data managers registered with the current transaction. Is
zope.testing.transactionsupport a good place for it? Or would it be
better to stick it into transaction.testsupport?
I envision that the top-level test.py of a project (e.g. Zope3) will
specify the default set of checkers, e.g.
--checkers transaction.testsupport --checkers zope.testing.loggingsupport
I do not think the default set of checkers belongs in zope.testing, as
these may be highly application-specific.
Marius Gedminas
--
Be yourself.
Especially, do not feign respect for technical incompetance.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope3-checkins/attachments/20070120/40c8dad3/attachment.bin
More information about the Zope3-Checkins
mailing list