[Grok-dev] RFC: Grokking tests
Lennart Regebro
regebro at gmail.com
Thu Mar 29 12:13:07 EDT 2007
On 3/28/07, Philipp von Weitershausen <philipp at weitershausen.de> wrote:
> Hi there,
>
> I was about to add ftests to megrok.five and I wanted to reuse some of
> the testing infrastructure that we had in Grok, only to find that it
> wasn't much reusable.
>
> Somebody at the BBQ Sprint (I think it was Whit) suggested that tests
> themselves could be grokked, so I implemented that in a branch
> (philikon-grokking-tests). It's not 100% finished yet (it's missing some
> tests for the new functionality, no pun intended), but Grok's own tests
> are all found and pass.
>
> For further explanations of how the approach works and other things that
> I've done at the same time (ftesting.zcml, functional layer, etc.), I
> simply defer to the checkin comments which y'all should be able to read :).
I think this is a fantastic idea. But from the comments I get the
feeling that this is only for doctests (which I don't like because
they are a huge schmertz in the posterior to debug). Then again, maybe
they are only needed for doctests?
--
Lennart Regebro: Zope and Plone consulting.
http://www.colliberty.com/
+33 661 58 14 64
More information about the Grok-dev
mailing list