[Zope] ZSQL unit testing with gadfly?

Terry Hancock hancock at anansispaceworks.com
Mon Dec 8 16:19:34 EST 2003


On Monday 08 December 2003 01:38 pm, Dieter Maurer wrote:
> Terry Hancock wrote at 2003-12-8 04:59 -0600:
> > ...
> >For unit-testing, I really should create a "toy" database. 
> >I'm presently thinking that it would be smarter to use
> >Zope's built-in gadfly / ZGadflyDA support.
> >
> >Has anyone else done this before?  Are there caveats
> 
> The SQL dialects of Gadfly and MySQL are quite different...
>
> I would use an existing MySQL installation and just
> create/delete databases and tables as necessary for your tests.

Thanks for the advice. It occurs to me that my hypothetical
user will have to have installed MySQL already anyway, so
maybe the penalty is not so great after all.

Cheers,
Terry

--
Terry Hancock ( hancock at anansispaceworks.com )
Anansi Spaceworks  http://www.anansispaceworks.com



More information about the Zope mailing list