discourse/lib/autospec
David Taylor da50cd554a
DEV: Optionally allow autospec without auto-running the whole suite (#8321)
I want to use autospec while working on a single spec file. At the moment, it will start running all specs once it completes the file I'm working on. With parallel mode enabled, this causes CPU usage to spike dramatically, affecting IDE performance, battery life, and fan noise. I would prefer that it only runs all specs when I explicitly press [ENTER]

This commit adds a new ENV variable `AUTO_RUN_ALL`. To prevent auto-running all specs, set it to 0. The default behavior remains unchanged.
2019-11-08 14:22:57 +00:00
..
base_runner.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
formatter.rb DEV: Add a new way to run specs in parallel with better output (#7778) 2019-06-21 10:59:01 +10:00
manager.rb DEV: Optionally allow autospec without auto-running the whole suite (#8321) 2019-11-08 14:22:57 +00:00
qunit_runner.rb DEV: autospec chrome check was failing on macOS (#7649) 2019-05-30 12:09:01 +02:00
reload_css.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rspec_runner.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
simple_runner.rb DEV: make parallel spec optional with autospec 2019-06-21 11:00:28 +10:00