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

Leonardo Rochael Almeida leorochael at gmail.com
Fri Dec 21 15:11:06 EST 2007


+1

On Dec 21, 2007 3:39 PM, Christian Theune <ct at gocept.com> wrote:
>
> 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
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> http://mail.zope.org/mailman/listinfo/grok-dev
>
>


More information about the Grok-dev mailing list