Spork
summary
Claims a tool called Spork that preloads the app and then runs tests in a forked process so the loaded state never corrupts, avoiding the Rails constant-unloading failures seen with spec server. It shows how pre-fork and each_run blocks separate one-time loading from per-invocation setup, supports RSpec and Cucumber, and demos a real improvement—with a sleep-5 helper startup dropping from about 7.8s to 0.8s—so the prototype actually works.
AI-written summary · about
chapters (4)
- 0:00Start
- 0:01at&t Interact
- 0:13Spork Tim Harper
- 6:11MOPAC MEDIA (512) 478 - 1812 1812 Walnut Ave. Austin, Texas 78704
related talks
18mSpeedup unit testing with the Spock framework
09mSpeeding Up Your Test Suite
31mQuick and easy browser testing using RSpec and Rails 5.1
36mAn Introduction to Spies in RSpec
02h 05mFrom slow to go: Rails test profiling hands-on
31mPortable and Fast - How to implement a parallel test runner
38mMinitest 6: test feistier!
29m"Testing. Why so serious?"
