How do I configure PyCharm to run py.test tests?
I want to start writing unit tests for my Python code, and the py.test framework sounds like a better bet than Python's bundled unittest . So I added a "tests" directory to my project, and added test_sample.py to it. Now I want to configure PyCharm to run all the tests in my "tests" directory. PyCharm allegedly supports py.test in its test runner. You're supposed to be able to create a run/debug configuration to run your tests, and PyCharm allegedly has a "create configuration" dialog box specifically for py.test . But that's the complete extent of their documentation on the subject, and I can