On Mon, 2006-04-09 at 14:25 +0200, Andreas Jung wrote:
--On 4. September 2006 09:43:07 -0230 Rocky Burt <rocky@serverzen.com> wrote:
So, I've learned to change my habits. I'm sure you've heard this a million times, but there's good reason... it just works. And that is to write unit tests to build your functionality rather than loading it up in Zope.
There is not much difference. Restarting a Plone instance with a bag full of bricks is nearly the same as running Plone unittests with the same amount of bricks on your back.
Unit tests don't need to load in Plone. More times than not they don't even need to load up ZTC. It's the integration tests that end up loading ZTC and PTC. I write those last :) - Rocky -- Rocky Burt ServerZen Software -- http://www.serverzen.com News About The Server (blog) -- http://www.serverzen.net