Run all tests for module?

How do I run all the tests for the current module?

Or, failing that, run all tests defined in the current module?

At the moment I'm creating different run configurations for "test foo" and "test bar", but that gets old.

I have a run configuration that runs the entire suite for all the modules, but I don't want to do that every time because that's 1) slower and 2) not all of our test suite is pycharm-compatible right now.

2 comments
Comment actions Permalink

Hello Kevin,

To run all tests for a file, right-click the file in the Project view or

the editor tab and select the necessary Run option. This also works for directories

in the Project view.

How do I run all the tests for the current module?

Or, failing that, run all tests defined in the current module?

At the moment I'm creating different run configurations for "test foo"

and "test bar", but that gets old.

I have a run configuration that runs the entire suite for all the

modules, but I don't want to do that every time because that's 1)

slower and 2) not all of our test suite is pycharm-compatible right

now.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Thanks a lot. This helped me. I was scratching my head for ours. I had totally forgotten I could just click on the test folder and run tests in the folder

0

Please sign in to leave a comment.