[Grok-dev] Re: where do I put doctests for my models?

Uli Fouquet uli at gnufix.de
Tue Aug 7 12:56:40 EDT 2007

Hi Grokkers,

Am Dienstag, den 07.08.2007, 18:35 +0200 schrieb Martijn Faassen:

[snip: tests as boilerplates]
> I'd like to try to avoid generating testing boilerplate. The response to 
> boilerplate shouldn't be to generate it, but to look for ways to make it 
> unnecessary. In the mean time we should provide good documentation (that 
> will also help us with analysis), which you are doing.

I read your last posting after writing my own. Sorry for that. The
method you suggest sounds much cooler to me than generating tests. :-)

> If we provide some nice base classes and have martian scan for things we 
> don't have to scan for exotic things at all. Basically my goal is to 
> replace test_suite() with the appropriate classes that are grokked.

As said: very cool. Meanwhile a tutorial could help people to use the
current testing framework. I'll stick to it  :-)



More information about the Grok-dev mailing list