lundi 30 mars 2015

How to automatically run tests when running Django runserver?

I'd like to know immediately when I've broken a test in Django. Instead of always running manage.py test separately, is there a way to run tests in the background when running manage.py runserver and report them to that same terminal? The tests would ideally be re-run when a file is saved, just like how the server is reloaded normally.


This would be great to detect mistakes sooner. And even better that it'd be right in your face instead of hiding behind a manual test step.


Is this possible?


Aucun commentaire:

Enregistrer un commentaire