[Grok-dev] Re: a modest proposal: automatically detected doctests

Christian Theune ct at gocept.com
Fri Dec 21 12:39:51 EST 2007


Am Freitag, den 21.12.2007, 11:59 -0500 schrieb Tres Seaver:
> - -1 to automagically including *any* text file.  +0 if the inclusion
> depended on finding a bit of marker text somewhere in the first few
> lines of the file.

I'd be happy with that.

On the selection of unit/functional layers I was thinking about using
those metadata fields, this could be used as a marker for picking it up
as a docfilesuite either on a (per-grok-package) functional layer or as
a unit test.

--snip--

=========================
Some feature demonstrated
=========================

:Author: The mighty wizard called Tim
:Test-Layer: (functional|unit)

...

--snap--


How about that?

Christian

-- 
gocept gmbh & co. kg - forsterstrasse 29 - 06112 halle (saale) - germany
www.gocept.com - ct at gocept.com - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.zope.org/pipermail/grok-dev/attachments/20071221/297029e4/attachment.bin


More information about the Grok-dev mailing list