[Zope-dev] Zope unit testing framework?
Jonothan Farr
jfarr@real.com
Mon, 28 Feb 2000 16:02:32 -0800
> How would this work for things which use the Zope framework heavily, though?
> It's perfectly possible to do associate somekind of unit testing with
> Python modules, but the integration with the Zope framework seems to require
> having to use the framework in order to do the tests. That could slow the
> tests down a lot or make them too hard to perform, and the philosophy of
> these tests is that they should run quickly and should be easy to run, so
> you'll run them often.
Seems like it should be reasonable to write test scripts that use the
framework for most applications.
import Zope, ZPublisher
ZPublisher.Zope(mytest)
...
etc.
This would be a bit of a time hit to load the framework, but shouldn't be
prohibitive, especially on a fast machine.
--jfarr