Random question poking around trying to make tests...
# support
z
Random question poking around trying to make tests faster for fun...is there a reason Solidus doesn't include the Spring gem by default, especially for RSpec purposes with
spring-commands-rspec
gem to inject Spring into the
rspec
binstub? Seems to cut 2 - 3 seconds off all rake tasks and tests in our app which is really nice for the dev cycle when you want to run 5 - 20 tests after touching a file. Maybe I'm just out of the loop on recent Spring pitfalls
j
Spring can be good, but when it misbehaves it causes the strangest and most unhelpful errors. It can be a stumbling block for new devs, so go ahead if you want to use it on your store, but since it's totally orthogonal to Solidus, there's no need for us to include. People who want to use it can add it when they set up their Rails apps.
👍 1
z
That justification makes sense! I think that's my "out of the loop on recent Spring pitfalls"....I was out of the Rails world for a few years so wasn't sure if it had sort of fallen out of favor. I'll bring it up with our team internally instead