Ask Your Question

Revision history [back]

You want to select manage.py as the testing file. Testing > Add Single File should be showing a file open dialog. Is it showing something else? You could also open manage.py in the editor and then do Testing > Add Current File. You don't need to set any Test File Patterns in the project in this case since with Django there is just the one test file (manage.py). That's a way to add many files as test files at once for projects that use other testing frameworks.

You may also want to right click on manage.py, select Properties, and make sure that Test Framework under the Testing tab is showing Django. I think it should if you set that at the project level but worth checking.