Re: Making tests fast

2019-09-03 Thread wd
On Wed, Sep 4, 2019 at 4:52 AM Dan Davis wrote: > I'm wondering how to make my tests fast while also having a lot of data > defined in the models. > This project is already using sqlite3 and the tests are single-threaded. > > Django support parallel, you can use multi process to save time. > -

Re: Making tests fast

2019-09-03 Thread Mike Dewhirst
On 4/09/2019 6:51 am, Dan Davis wrote: I'm wondering how to make my tests fast while also having a lot of data defined in the models. This project is already using sqlite3 and the tests are single-threaded. My ideas are: * Specify a different sqlite3 file and keepdb for different tests -

Re: Making tests fast

2019-09-03 Thread Dan Davis
I will just use fixtures, natural-keys, and an in-memory database. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To