Nate Lowrie wrote:
>>> 5) For the unit test on the UI layer, I suggest we use Python Mock or
>>> Pmock to create the mock object we need for solid unit tests.  I don't
>>> know of any other way to decouple some of the classes.
>> Yes, for testing our code, but we also need to know how wx processes
>> some of the interactions, so I don't think we can get away from running
>> the tests against wx, at least where it is possible (no modal user input).
> 
> I was thinking more for decoupling the various UI classes from each
> other rather than decoupling from wx.  Since the wx used is not a data
> layer, I would agree that it is not possible to get away from testing
> wx.  Also, do you have a mock database connection for the Biz Object
> tests?

Oh, I see. I had been taking the approach that higher tiers could 
interact with lower tiers, so that biz could use a sqlite database, and 
ui could use a bizobj.

> I don't have too much more experience than you, so we'll be doing this
> together.

Cool!


-- 
pkm ~ http://paulmcnett.com


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to