[z3-five] Zope testing frameworks

Martijn Faassen faassen at infrae.com
Fri Sep 10 19:05:39 MEST 2004


Hey,

Tres Seaver, meet Stefan Holek, and vice versa, if you haven't already. 
Stefan Holek wrote ZopeTestCase, to be found here:

http://zope.org/Members/shh/ZopeTestCase

Tres doesn't need any introduction, I hope. :)

Tres is used to another testing framework, also apparently in Zope 2, 
started like this:

bin/zopectl run Products/Five/tests/test_bridge.py

Tres is contributing code to Five, yay! However, he got pretty confused 
by the way we use ZopeTestCase in Five. He couldn't get the tests to 
run, and furthermore once he used runalltests.py, he reported troubles 
running the tests in a ZEO environment. I was at a loss, as I'm used to 
ZopeTestCase.

You guys will both be at the Plone conference (me too). It might be a 
good idea for you two to have a chat about test frameworks in Zope, and 
what can be done to get Tres less confused about writing Five tests, and 
me less confused about what Tres is doing. I just want everybody to be 
able to happily contribute code (and thus tests) to Five.

Tres, by the way; the tests you added to Five also run without failures 
using 'runalltests.py'. Thanks!

Regards,

Martijn


More information about the z3-five mailing list