19: The Oncoming Storm (Sam Phippen) - a podcast by thoughtbot
from 2015-06-16T00:00
::
::
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_instance
to test legacy code - minitest
- RSpec's
stub_const
method. - Don't Stub the System Under Test
assigns
andassert_template
are deprecated in Rails 5- Sam's RailsConf talk: Understanding Rails Test Types in RSpec
- Fun & Plausible Solutions
- Sam on Twitter
Further episodes of The Bike Shed
Further podcasts by thoughtbot
Website of thoughtbot