[Zope-ZEO] Advice

Toby Dickenson tdickenson@geminidataloggers.com
Mon, 25 Sep 2000 16:04:35 +0100


On Fri, 22 Sep 2000 20:19:39 -0400, Chris McDonough
<chrism@digicool.com> wrote:

>>No, just something that has a very complex internal state, consisting of 45
>> different states, which can be grouped into 7 over-arching phases.
>> This is
>> something complicated enough that you want it surrounded by an elaborate
>> test suite so you don't inadvertently break one transition when fixing
>> another. 

>But there are
>really
>two ways to do this, either of which is viable.

1. the right way ;-)

>2.  Code all of your logic using TTW stuff and Zope components.  Use the
>    Publisher.Test.test method to call methods of your Zope components
>    in unit tests.

Do you really think this is a viable approach for a product with a
non-trivial amount of logic?


Toby Dickenson
tdickenson@geminidataloggers.com