Hi All,

I've just finished writing a test suite for Zope DA's in general, based on what I saw in Shared.DC.ZRDB.Connection and Shared.DC.ZRDB.DA.

This is available from:
http://cvs.zope.org/*checkout*/Products/DCOracle2/test/test_zopeda.py

An example of how to use it (for ZOracleDA in this case) is available from:
http://cvs.zope.org/*checkout*/Products/DCOracle2/test/test_zoracleda_basics.py

There are instructions for running it at the bottom of:
http://cvs.zope.org/*checkout*/Products/DCOracle2/README

I'd be very interested if users of the other database adapters could see how this does against their products. If anyone wants help to do this, please mail me off list.

If this proves useful, I'd like to check it into the core Zope CVS, what do other people think?

I do have some questions, though. DA's return a Shared.DC.ZRDB.TM subclass when they are called, this has lots of transaction-ish methods. I currently check that these are there, but does anyone know how I could check that they do what they're supposed to?

Also, if anyone can see any methods on any objects that I'm not currently testing, but that should be tested, please let me know!

cheers,

Chris


_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to