My tests run faster than your tests
In this 15 minute talk I introduce Burke Libbey’s zeus gem which makes spinning up a Rails app to run tests really fast.
I outline the two strategy’s it makes use of do this, forking processes and speculative execution, and also why it is better than alternatives like spork.
I gave this talk just before the release of spring which is the preloader that now comes as standard with Rails. Spring relies on Rails’s constant reloading which can behave oddly in all sorts of situations and so zeus remains the more reliable option.