Back-end Engineering
Isolating Dependencies with Test Doubles in Ruby & RSpec
Explore the critical role of test doubles in modern software testing. This session introduces you to dummies, stubs, spies, mocks, and fakes. Gain expertise in isolating units under test, managing behavior, and constructing fast, reliable, maintainable tests. Step into using test doubles to enhance your development practices.
RSpec
Ruby
5 lessons
25 practices
3 hours
Course details
Testing Email Parameters with Dummies
Enhancing DummyLogger with Severity Parameter in EmailService
Fixing Test Suite for EmailService with Test Doubles
Enhancing EmailService Tests with Dummies
Enhancing NewsletterService Tests with Dummies

Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal