Reputation: 19468
If I click on a package and do control-shift-F10 it only looks for and runs JUnit tests in that package - but I really want it to recurse down into subpackages and run them.
UPDATE: looks like its something else wrong. When I run it on a package that has tests, it still complains there are none (yet if I open a JUnit test I can run it just fine).
Upvotes: 92
Views: 65372
Reputation: 6284
For Python users:
__init__.py
in each subfolderdummy_test.py
in the root of your tests directory, eg.:class DummyTest(TestCase):
pass
Upvotes: -3
Reputation: 11262
I've solved this thanks to csauve response. This could be an answer to his, but I didn't know how to include an image there.
Run/Debug Configurations dialog box can be access via Run > Edit Configurations. Use these options to create one that runs all your tests:
Upvotes: 5
Reputation: 6263
From @andersoyvind's comment.
Upvotes: 198
Reputation: 3299
The default key combination to run all tests is Ctrl+Shift+F10
Upvotes: 13