jeudi 30 juillet 2015

Run django tests with specific filename in PyCharm

In my project I have specific tests filename. Path looks like proj_name.apps.my_app.tests.fast_client or proj_name.apps.my_app.tests.slow_selenium

I can run all tests with a single command from console

python manage.py test --settings=odin.settings.test --pattern=fast*

But I can't run all from PyCharm. I can run only specific test

enter image description here

Looks like PyCharm can run all tests from specific directory only if test files have standard name (tests.py)

So, is it possible to run all project tests from PyCharm?

Aucun commentaire:

Enregistrer un commentaire