discourse/bin
Alan Guo Xiang Tan b00edf3ea0 DEV: Add `--profile=[COUNT]` option for `turbo_rspec`
Why is this change required?

By default, `RSpec` comes with a `--profile=[COUNT]` option as well but
enabling that option means that the entire test suite needs to be
executed. This does not work so well for `turbo_rspec` which splits our
test files into various "buckets" for the tests to be executed in
multiple processes. Therefore, this commit adds a similar
`--profile=[COUNT]` option to `turbo_rspec` but will only profile the
tests being executed. Examples:

`LOAD_PLUGINS=1 bin/turbo_rspec --profile plugins/*/spec/system`

or

`LOAD_PLUGINS=1 bin/turbo_rspec --profile=20 plugins/*/spec/system`
2023-05-30 13:46:14 +09:00
..
docker DEV: Run yarn install before db migrations in `d/boot_dev` (#20866) 2023-04-05 18:49:50 +01:00
annotate DEV: Allow annotations to work in symlinked plugins, add binstub (#13635) 2021-07-05 15:43:10 +01:00
bundle DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
ember-cli DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
notify_file_change FIX: `notify_file_change` was outputting a command to vim 2020-12-10 10:03:57 -05:00
rails DEV: Compatibility with TruffleRuby (#16641) 2022-05-05 09:50:02 +08:00
rake DEV: Add `rake plugins:turbo_spec` task (#18289) 2022-09-20 15:42:54 +01:00
rspec DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rubocop DEV: Clean up .gitignore (#12981) 2021-05-10 13:43:13 +02:00
system_rspec DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
turbo_rspec DEV: Add `--profile=[COUNT]` option for `turbo_rspec` 2023-05-30 13:46:14 +09:00
unicorn DEV: make `bin/ember-cli -u` terminate unicorn when ember-cli fails (#18172) 2022-09-02 22:51:51 +01:00
yarn-app DEV: Add yarn-app shim to run yarn using the app modules (#20983) 2023-04-05 13:12:58 -05:00