On May 14, 2:08 pm, Antoine Pitrou <[email protected]> wrote:
> > I'm curious about why testutil was designed this way.
>
> So that tests are predictable and aren't affected by the action of
> previous tests.

I agree with wiping out the data between tests, but why should I
rebuild the tables from scratch?

> You should really run your tests with an in-memory sqlite database.
> They will be much faster.

I really wish I could run my tests with an in-memory sqlite database,
but until sqlite supports stuff like the OVERLAPS keyword and time
intervals, I have to use postgres.  I get lots of operational errors
now when I try to build my tables in sqlite.

Thanks for the reply.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to