Our test files are currently named like test_scheduler.rb, which works fine for running the full suite. However, IDEs such as RubyMine expect test files to follow the common naming pattern *_test.rb in order to support features like test discovery and running individual tests.
Renaming files to use _test.rb enables some critical RubyMine features:
- Detect test methods and show run/debug icons in the gutter
- Run or debug individual tests without modifying runner configs
Our test files are currently named like
test_scheduler.rb, which works fine for running the full suite. However, IDEs such as RubyMine expect test files to follow the common naming pattern*_test.rbin order to support features like test discovery and running individual tests.Renaming files to use
_test.rbenables some critical RubyMine features: