Re: More about test speedup

2012-01-23 Thread Anssi Kääriäinen
On Jan 24, 3:07 am, Daniel Moisset wrote: > [1] The idea is loading fixtures once per TestCase instead of once per > test method, and use DB rollbacks after each test to return the DB to > the after-fixtures-just-loaded state. So, the idea is to do the following for each TestCase: begin load fix

More about test speedup

2012-01-23 Thread Daniel Moisset
Somewhat independently from the recent thread, I had been working in getting tests running faster. I essentially reimplemented an idea that Erik Rose[1] posted here last year, but I did it in a way that I think is more DB independent (although... I'm using it and have tested it only under PostgreSQ