Setting up tests Follow
For the life of me I can't figure out how to set up unit tests using the latest build (96.115). I'm used to IntelliJ IDEA where I'd go under project structure and designate a source subtree as a test source. This option seems to be missing from pycharm's interface. Right-clicking on a test file/test class/test function does show a run option in the contextual menu. I don't see any other options for tests (except the ability to create test run configuration). What am I missing (besides a brain, obviously)?
thanks
Dmitry
Please sign in to leave a comment.
Hello Dmitry,
There is no possibility to set up test sources in PyCharm because there's
no need to mark a directory as test sources: all testing functionality works
for any directory. Just go ahead and run your tests, everything will work.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"