[Zope] Unit testing

Gilles Lenfant gilles@objectis.net
Mon, 27 May 2002 21:06:31 +0200


I always do it (for zope or non zope stuffs).
The problem is it's difficult to pass classes that use Zope features =
through the unittests without knowing in depth the Zope machinery.
So I make  as much as possible "blind" python ressources (classes, =
functions), in distinct modules, that can be used outside of Zope =
framework, then I make the Zope layer.

--Gilles

----- Original Message -----=20
From: "Jean-Fran=E7ois M=E9nard" <menard.jean-francois@hydro.qc.ca>
To: <zope@zope.org>
Sent: Monday, May 27, 2002 3:35 PM
Subject: [Zope] Unit testing


> I just read "Unit testing" chapter of the excellent "Dive into Python" =

> book.  I know that Zope 3 development extensively use unit testing=20
> development. =20
>=20
> I wonder if anynone use unit testing for Zope 2.* product development? =
=20
>=20
> Any insights or advices?