mercredi 31 octobre 2018

How to resume Django test suite from the last error/failure?

I have a large test suite (1000+ tests), running for a total of 3-4 minutes. When a test fails and I fix it, I'd like to start from that test and continue running the other tests. (I know that a change may affect the previous tests, but running them every time seems wasteful)

Looking at python manage.py test --help, I see no option to run the test suite starting from the last failure. How can it be done?

Aucun commentaire:

Enregistrer un commentaire