
19: The Oncoming Storm (Sam Phippen)
Derek and Sean are joined by Sam Phippen from the RSpec core team to discuss RSpec mocks, testing strategies, and minitest.
June 16, 201529m 11s
Audio is streamed directly from the publisher (aphid.fireside.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
Show Notes
Derek and Sean are joined by Sam Phippen from the RSpec core team to discuss RSpec mocks, testing strategies, and minitest.
- RSpec 3 adds composable matchers
- Spies were added to RSpec in 2.14
- Using
any_instanceto test legacy code - minitest
- RSpec's
stub_constmethod. - Don't Stub the System Under Test
assignsandassert_templateare deprecated in Rails 5- Sam's RailsConf talk: Understanding Rails Test Types in RSpec
- Fun & Plausible Solutions
- Sam on Twitter