On 2/28/07, Uwe Grauer <[EMAIL PROTECTED]> wrote: > Nate Lowrie wrote: > > In case any one is interested, I started a unit testing wiki page. > > Not nearly complete, I plan to work on that some tonight. Also, I > > plan on separating the test framework and decoupling the test cases > > for the db and biz object layer. > > > > Let me know what you think so far. I plan to include examples and > > have define a general structure for individual test cases, unit tests, > > mock objects, .and the test framework. > > > > Nate, i think the following isn't true: > > "A test is not a unit test if: > > > Take a look at sqlalchemy unit test: > > * It talks to the database > Take a look at twisted unit tests: > > * It communicates across the network > Why not?: > > It can't run at the same time as any of your other unit tests > > Overall nice done.
Sorry, need to fix the context. I meant that in for say that for example in the UI tests you should not be talking to databases or even bizobjects. Instead use mock objects and simulated data. > > Uwe > > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
