It's hard for me to set up tests running in PyCharm.
I want to run tests for my custom django applications, so my configuration looks something like this:

It works fine (tests run, succeed), although it does not allow you to re-run individual tests and re-run failed ones - it always runs all tests for specific applications (general and authorization).
The manual says that I should put the django application names in the "Target" field as follows:

But whenever I do this, my tests cannot run with strange errors: sometimes it cannot import some modules, although they are definitely available, sometimes there are many NoReverseFound exceptions, although none of them are present in the code.
I suppose that I am setting something up incorrectly, but I cannot understand that. I am running the latest version of PyCharm and one of the versions of Django 1.5.x (some legacy codes from the day I was supposed to support)
UPD : if I put authorization.UserApiTestCase.test_login on the target - it works fine, authorization.UserApiTestCase works too, but setting only appname ( authorization ) will not work and will produce NoReversrMatch or importing errors ... leaving the target empty will also work, even though it will run even iInternal Django tests, and thatβs not what I need - I just want to run all the tests of my applications (or the tests from specific applications).
python django unit-testing pycharm automated-tests
Datagreed
source share