hoarfrost: zope, etc.
"we'll know where when we get there, you said." -sonic youth


Subscribe to "hoarfrost: zope, etc." in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.


Monday, June 24, 2002
 

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    


Click here to visit the Radio UserLand website. © Copyright 2002 Joseph Kocherhans.
Last update: 7/4/02; 3:41:01 PM.
Comments by: YACCS
June 2002
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
May   Jul