To run my Django's tests, I was using the manage.py file. But I decided to create my own file runtests.py.
As specified in the Django's doc, the manage.py file will execute all methods whose name is starting like "test" and whose class inherits TestCase !
My aim is to use this searching method to display all possible tests (not running them). So do you know where I could get this "searching method" ?
Thank you !
Aucun commentaire:
Enregistrer un commentaire