[Zope-Coders] Great article on unit tests

Chris Withers chrisw@nipltd.com
Tue, 29 Jan 2002 08:35:38 +0000


Tres Seaver wrote:
> 
> > IS this over the wall yet?
> 
> I just put it out on the public CVS server::
> 
>    $ cvs -d :ext:cvs.zope.org:/cvs-repository co Packages/FunctionalTests
> 
> I will make a tarball and push it to www.zope.org tonight.

Cool, thanks :-)

> > If so, are there any sample tests anywhere? I'm still trying to get my head
> > around functional testing...
> 
> Samples are in an 'examples' directory under the package.  Note that
> 
> I used these to good effect during the CMF 1.2 release cycle:  in
> particular, I found a couple of bugs (one in ZPT!) which unit tests
> didn't uncover (and really couldn't).

That's good news :-) Are these tests shipping with CMF yet? I'd be very
interested in seeing them...

cheers,

Chris