Hi,
As my django application has grown I'm noticing I'm spending longer and
longer waiting for ./manage.py test to start up - ie create all the tables
etc. Not helped of course by working on a laptop with a slow disk, as I
suspect many of us do these days.
This is slowing down my test-debug cycl
Malcolm Box wrote:
> Has anyone got any ideas on how to speed this up - for instance, is there a
> way to say "use an existing test database"?
Per my other advice to use fab and a fabfile with a test() target in
it, you should set its (local()) target to something like
python manage.py test -
Hi,
Thanks for the suggestions.
2010/2/2 Phlip
> Malcolm Box wrote:
>
> > Has anyone got any ideas on how to speed this up - for instance, is there
> a
> > way to say "use an existing test database"?
>
> Per my other advice to use fab and a fabfile with a test() target in
> it, you should set i
On Sat, Feb 6, 2010 at 1:25 AM, Malcolm Box wrote:
>> From there, I have only been able to reduce test time down from hours
>> to minutes. Tests ought to run in seconds - so fast that you can run
>> them after every few edits - TDD.
>
> Totally agree, and what I'm looking to make Django do. At t
4 matches
Mail list logo