I want to make some unit tests, so I set up a list with values that all should be asserted true, just like this question. But I want it to run in PyCharm (With pressing Alt+Shift+F10)
If I just use the code from the answers, I just get No tests were found
You need to double check the settings for the tests run configuration:
By default PyCharm will inspect files that start with
testand that are subclasses ofunittest.TestCase, however you can control the Pattern and the subclasses option.Change Pattern according to your test file names, it accepts Python regular expression.