Is there any drawback to eager load Rails app in test environment?

9 views
Skip to first unread message

st0012

unread,
Apr 20, 2017, 3:07:21 AM4/20/17
to Ruby on Rails: Talk
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?
Reply all
Reply to author
Forward
0 new messages