If you are using the paid for version of Pycharm, then you can use it’s Django functionality to create run configurations.
Here is an example of mine whereby I’m specifically testing a single app, in my case, progress_tracking
If you’re using the community edition, then you can create a regular Python run configuration. Here is one that I just tested successfully. Do note that I am running this in Docker, hence my Python interpreter looks a bit funny. I can’t see why it wouldn’t work with a local Python interpreter.
If you want to test only a single app, then you can include the apps test as an argument like this:
python manage.py test my_app.tests
In this instance your app is called my_app
and within your app you have a file called tests.py