Back-end Engineering
Isolating Dependencies with Test Doubles with Swift & XCTest
Discover the pivotal role of test doubles in modern software testing. This introductory session will guide you through the essentials of dummies, stubs, spies, mocks, and fakes. Learn how these powerful tools help you isolate units under test, control behavior, and build reliable, fast, and maintainable tests. Step into the world of test doubles and elevate your software development skills.
Swift
XCTest
5 lessons
25 practices
3 hours
Course details
Introduction to Dependencies in Testing with Swift
Understanding EmailService with Dummies in TDD
Enhancing DummyLogger with Severity Parameter in EmailService
Fixing Test Suite for EmailService in Swift
Enhancing EmailService with Dummy Dependencies in Swift
Enhancing NewsletterService with Dummy Dependencies in Swift

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





