Depop Migrates 10,000 Unit Tests to Swift Testing

The migration was partly assisted by coding agents and substantially reduced CI runtime.

Updated on Dec. 2, 2026 in Software by Wisevoter Tech Desk

Depop Migrates 10,000 Unit Tests to Swift Testing

Depop migrated approximately 10,000 unit tests from XCTest to Swift Testing, with coding agents assisting in part of the work. The migration substantially reduced the company's CI runtime.

Why it matters

Depop's team said Swift Testing is where Apple development is going, and the move aimed to standardize testing across a codebase where existing tests followed no agreed-upon convention. For developers working on Apple platforms worldwide, the case offers a concrete example of how a large test suite can be moved to the newer framework.

Depop's early benchmarks showed roughly an 80% runtime improvement between XCTest without parallelization and Swift Testing with parallelization, and Swift Testing runs tests in-process on Swift Concurrency's cooperative thread pool. Depop's team reported these figures from its own benchmarks, and the absolute runtimes behind the percentage were not stated.

The players

Depop

Depop is a online secondhand fashion marketplace whose engineering team carried out the migration of its iOS unit test suite.

Sixt

Sixt is an international car rental company that used AI to rewrite 7,000 of its unit tests from XCTest to Swift Testing.

The details

Depop's team used a manual, syntax-based approach built on swift-testing-revolutionary, an open-source SwiftSyntax converter, and an agent ran the conversion script, executed the tests, and opened a pull request. PRs that showed no errors or flakiness across 100 repetitions and included no codebase changes were auto-approved, while failing tests were sent back to the agent for fixes and flagged for human review.

Timeline

  1. Article on Depop's XCTest to Swift Testing migration published December 2, 2026.

The Tech Race

Depop's move follows Apple's push to make Swift Testing the default framework for Apple development, with the company citing Swift Concurrency integration and parameterized tests as reasons to switch. Sixt's AI-assisted rewrite of 7,000 tests shows the migration path is also being automated at scale.

Developers maintaining large Apple-platform test suites can see how a migration to Swift Testing was staged, including the use of automated pull request review for passing runs. The approach offers a template for reducing CI time without a full manual rewrite of every test.

The takeaway

Teams moving large test suites to a new framework can reduce risk by auto-approving only runs that pass repeated checks and routing failures to human review. Standardizing conventions before migrating avoids carrying inconsistent test patterns into the new framework.

Further reading

For more on how software teams build and maintain their code, see the Software section.

Source note: This article includes information reported by InfoQ.