Is there any drawback to eager load Rails app in test environment?
The reason I want to do this is because there are some bugs like "circular dependencies" can't be found without eager load the entire app.
Since we only eager load at production, we can only notice this kind of issues on production. So I think it would be a good idea to eager load entire app during testing and we can fix it before it gets deployed.
And I just test this idea on my app and it ran normally on CI and my mac. But I'm not sure if there any drawback to do this, like significantly slow down the tests?