Nate Lowrie wrote: > Paul, let's standardize the structure of the test cases now before we > get in too deep.
Nate, I've added reading and responding to this message to my internal trac system, but I'm way busy right now and can't devote immediate time to helping you set up the unit tests. I agree that we want to focus on testing 'units', so that mock objects should be used in e.g. dBizobj, dCursor, and dForm instead of the actual live objects. However, sqlite is light enough to use until we get a full cursor mock object working. Of course, the eventual unit tests for the various backends (dbMySQL.py and friends) would actually need to connect the the respective dbapi so that we can test that we have wrapped correctly. Anyway, it looks like you are off to a good start, you have my full support, so don't be discouraged if I don't reply immediately. John, you sent me a private message this morning that pretty much is in the same boat: I have no time to review right now, but you are on my list. I'd encourage you to ask for help publicly instead of privately and perhaps someone else can assist. Otherwise, I'll get to it when I can. Paul -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
