rails/railties/test
Koichi ITO 6afc3682ae Suppress RuboCop output when there are no offenses in code generation
Follow up #51782.

> But it's overkill for the default case where people use the default style guide,
> and it introduces both delay and console output as a cost.

When there are no offenses with the coding style generated by code generation,
outputting RuboCop results to the console was redundant.
Since RuboCop has `--format=quiet` option that suppresses console output
when there are no offenses, this PR adds that option:
https://docs.rubocop.org/rubocop/1.63/formatters.html#quiet-formatter

While this PR doesn't resolve any added execution speed by RuboCop,
the frequency of using the generator is not high within the development flow.
Therefore, depending on the execution speed, it might be possible to uncomment #51782,
but this PR respects the defaults in #51782 and doesn't address that.
2024-05-13 19:47:12 +09:00
..
application Suppress RuboCop output when there are no offenses in code generation 2024-05-13 19:47:12 +09:00
command Address Rails::Command::HelpIntegrationTest failure against ruby 3.4.0dev 2024-04-10 17:57:40 +09:00
commands Defer route drawing to the first request, or when url_helpers called. 2024-05-08 23:43:06 -04:00
configuration Raise if setting a config key that is a method name 2023-04-23 09:39:07 +02:00
engine Fix the BroadcastLogger being initialized too late: 2023-09-29 15:42:47 +02:00
fixtures Use devcontainer features for optional dependencies 2024-04-12 10:13:42 -04:00
generators Improve db_system_change_generator_test.rb 2024-05-06 18:00:01 -04:00
isolation Defer route drawing to the first request, or when url_helpers called. 2024-05-08 23:43:06 -04:00
minitest Get rid of EnvHelpers at Minitest::RailsPluginTest 2024-01-04 11:32:33 +09:00
railties Defer route drawing to the first request, or when url_helpers called. 2024-05-08 23:43:06 -04:00
test_unit Parse tests with prism 2024-02-09 10:54:20 -05:00
abstract_unit.rb Get rid of the jruby_skip test helper 2023-10-02 13:01:44 +02:00
app_loader_test.rb Turn on performance based cops 2018-07-23 15:37:06 -07:00
backtrace_cleaner_test.rb Fix ActionView backtrace filtering on Ruby 3.4+ 2024-04-22 14:07:57 -07:00
code_statistics_calculator_test.rb Add support for stylesheets and ERB views to rails stats. 2020-11-10 09:40:18 -07:00
code_statistics_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
console_helpers.rb Do not run tests that have ensure instead of skip 2022-09-20 22:12:20 +09:00
engine_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
env_helpers.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
generators_test.rb Remove deprecated Rails::Generators::Testing::Behaviour 2024-05-01 20:19:21 +00:00
initializable_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00
json_params_parsing_test.rb Deprecate ConnectionPool#connection 2024-03-01 14:32:55 +01:00
path_generation_test.rb Store secret_key_base in Rails.config for local environments. 2023-06-14 16:37:23 +02:00
paths_test.rb Ensure only directories exist in Rails default load paths 2024-01-15 15:04:53 +09:00
plugin_helpers.rb Separate the CI environment from the application CI environment 2023-10-04 09:36:51 +00:00
rack_logger_test.rb Don't pop logger tags in Rails::Rack::Logger until request is finished 2024-02-07 14:12:07 +11:00
rails_health_controller_test.rb add "as: :rails_health_check" to health check path (#47217) 2023-02-05 08:49:04 +01:00
rails_info_controller_test.rb Expand rails route search to all table content 2023-03-03 17:14:33 +11:00
rails_info_test.rb Revert "Merge pull request #34387 from yhirano55/rails_info_properties_json" 2019-01-08 22:21:20 +01:00
version_test.rb Adding frozen_string_literal pragma to Railties. 2017-08-14 19:08:09 +02:00