Episode Details
Back to Episodes
19: The Oncoming Storm (Sam Phippen)
Published 10 years, 10 months ago
Description
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