First time here? Check out the FAQ!

Revision history  [back]

With Django tests (using the Django testing framework) you have to run the whole manage.py file in the Testing tool to get an enumeration of tests there, and then can re-run those individually from the Testing tool view. I don't think right-clicking on the code of individual tests in the editor works because the test file isn't the main entry point in this case. The launch configuration on individual tests is also not used if manage.py is the main entry point for the tests. You would need to set/reset the Testing tab launch configuration on manage.py itself, in its File Properties. This is unfortunate but Django was really not designed with IDEs in mind and this is one area (among a few others) where we have not added Django-specific functionality to compensate for that.