Testing Zope with XML-RPC
via [ZopeZen]
I hadn't thought about this before. The gist is how to run unit tests against a running zope instance via xmlrpc rather than importing zope. It has the side effect of testing your product's xmlrpc interface as well as the product itself. (Some might consider this a flaw though.) Also, it seems like this might be even faster than running unit tests against zope using ZEO since you can avoid importing zope. There are obviously tradeoffs since you have to have a running zope instance to run your tests. Come to think of it you could run different versions of zope simultaneously on different ports to easily test a product against different versions of zope. All you'd have to change is the port of the xmlrpc server in your unit test.
1:59:55 PM