rails/railties/test/application
Xavier Noria c0d91a4f9d restores the ability to manually eager load applications
The main interface to eager loading is config.eager_load. The logic that
implies happens during the boot process.

With the introduction of Zeitwerk, application code is loaded in the
finisher as everything else, but in previous versions of Rails users
could eager load the application code regardless of config.eager_load.

Use cases:

   * Some gems like indexers need to have everything in memory and would
   be a bad user experience to ask users to conditionally set the eager
   load flag.

   * Some tests may need to have everything in memory and would be a bad
   experience to have the flag enabled globally in the test environment.

I personally feel that the contract between this method and the entire
eager loading process is ill-defined. I believe this method is
essentially internal. The purpose of this patch is simply to restore this
functionality emulating what it did before because rethinking the design
of this interface may need time.
2020-01-07 21:34:28 +01:00
..
configuration Use respond_to test helpers 2018-01-25 23:32:58 -05:00
initializers Fix remaining connection_config calls 2019-12-18 09:12:27 -05:00
middleware Fix keyword arguments warnings 2019-09-09 22:49:09 +09:00
rack Log the remote IP addr of clients behind a proxy 2018-07-31 20:45:37 +05:30
rake remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
asset_debugging_test.rb Sprockets uses debug. not self. now 2019-10-10 14:43:03 -07:00
assets_test.rb Auto-correct rubocop offences 2019-11-24 09:54:47 +09:00
bin_setup_test.rb Revert "Merge pull request #37215 from utilum/avoid_test_flunking_on_warning" 2019-12-25 17:13:09 +09:00
configuration_test.rb Revert "Merge pull request #37215 from utilum/avoid_test_flunking_on_warning" 2019-12-25 17:13:09 +09:00
console_test.rb Use the single line editor in console test 2019-12-24 20:47:21 +09:00
content_security_policy_test.rb Add the ability to set the CSP nonce only to the specified directives 2019-06-22 12:44:37 +09:00
credentials_test.rb Restructure credentials after environment overrides. 2019-01-14 20:13:00 +01:00
current_attributes_integration_test.rb Use try only when we're unsure if the receiver would respond_to the method 2019-08-01 17:58:00 +09:00
dbconsole_test.rb Use correct variable 2018-09-11 07:06:30 +09:00
feature_policy_test.rb Adds support for configuring HTTP Feature Policy (#33439) 2019-07-10 15:33:15 -07:00
generators_test.rb Generators skip collision check if force option is passed. 2019-10-08 19:07:38 -05:00
help_test.rb Run in-app rails commands via fork+load where possible 2017-09-04 20:19:39 +09:30
integration_test_case_test.rb rails new runs rails active_storage:install 2017-11-06 21:29:14 +00:00
loading_test.rb Don't require "action_view/base" in action pack: 2019-12-19 17:28:24 +01:00
mailer_previews_test.rb Add title tag to mailer previews 2019-09-02 14:44:46 -07:00
middleware_test.rb Adds support for configuring HTTP Feature Policy (#33439) 2019-07-10 15:33:15 -07:00
multiple_applications_test.rb Zeitwerk integration 2019-02-12 02:28:04 -08:00
paths_test.rb Bring back feature that allows loading external route iles: 2019-12-06 14:20:12 +01:00
per_request_digest_cache_test.rb Include ActiveSupport::Testing::MethodCallAssertions in railties/test/isolation/abstract_unit.rb 2018-06-09 00:00:28 +03:00
rackup_test.rb Remove unnecessary migration deletion 2017-11-08 13:24:16 +09:00
rake_test.rb Merge pull request #28209 from tjoyal/railties/add-config-rake_eager_load 2019-12-17 22:10:14 -03:00
rendering_test.rb Fix RenderingTest in railtie 2018-04-04 06:12:24 +09:00
routing_test.rb Bring back feature that allows loading external route iles: 2019-12-06 14:20:12 +01:00
runner_test.rb Revert "Merge pull request #37215 from utilum/avoid_test_flunking_on_warning" 2019-12-25 17:13:09 +09:00
server_test.rb Update test to avoid Puma output format change 2019-09-25 13:11:58 -04:00
system_test_case_test.rb Define the url_options needed for SytemTest inside the route proxy: 2019-07-24 01:18:00 +02:00
test_runner_test.rb remove reference to global rails command and replace with bin/rails 2019-12-27 19:32:37 +00:00
test_test.rb Sync test DB from schema using its SHA1 2019-08-06 12:44:22 -07:00
url_generation_test.rb Fix secret_key_base for Railties 2019-03-13 16:41:29 -04:00
version_test.rb Run in-app rails commands via fork+load where possible 2017-09-04 20:19:39 +09:30
watcher_test.rb Correctly classify the files and directories that pass to watcher 2019-09-02 11:22:39 +09:00
zeitwerk_integration_test.rb restores the ability to manually eager load applications 2020-01-07 21:34:28 +01:00