DoorDash Migrates iOS Test Suite to Swift Testing Using Copilot
DoorDash has successfully transitioned its XCTest-based iOS test suite to Swift Testing, achieving performance improvements of four to seven times. This migration addresses CI pipeline delays and enhances test reliability through automation and strict engineering principles.

DoorDash has transitioned its XCTest-based test suite to Swift Testing, achieving performance improvements of four to seven times faster execution. This change alleviated delays in the iOS CI pipelines, which had escalated due to increased app complexity.
The migration employed automation alongside clear team ownership, ensuring consistent workflows and minimizing test flakiness through stringent reliability gates. Engineers utilized Copilot to define migration rules, facilitating the conversion process.
Midway, DoorDash integrated Bazel to enhance their workflow, allowing local test execution without manual input. The parallel execution model of Swift Testing revealed previously masked issues in shared state and timing assumptions, further improving reliability.




Comments