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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

st0012
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?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/76fe127b-c8c3-4a43-8b3c-d6517e808897%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.