I have flask project. I want to run unit test cases which are in tests directory using test suite. As we know that python modules in the tests directory get executed alphabetically. Can I change that order of execution?
Suppose I have a directory structure like:
/tests
test_add.py
test_delete.py
test_get.py
test_put.py
But I want to run add, get, delete then put. Is that possible?
Aucun commentaire:
Enregistrer un commentaire