We’re happy to introduce our latest Testing Trail, Test Doubles. This new trail covers using stubs, mocks, spies, and fakes with RSpec.
We’ve coupled the trail with an episode of The Weekly Iteration on the same topic. In this episode Joe & Gabe review the four types of test doubles: stubs, mocks, spies and fakes. Learn what the key differences are between each type, as well as when you’d want to consider using them.
We recommend starting with The Weekly Iteration episode and then moving onto doing the trail yourself. Enjoy!