pytest-django
pytest-django copied to clipboard
Testing with concurrency don't clone database
trafficstars
Django setup_databases has a parallel arg to avoid running migrations for each parallel runner.
Migrations are really slow and it was critical to our migration to pytest-django. I had to run it with --nomigrations, which is not what I wanted.
After all, I created a project to handle this issue and more. https://github.com/businho/django-migrations-ci
I think it is possible to do the parallel part on pytest-django, but I didn't try to do it.