What Depop learned moving 10,000 tests to Swift Testing
Depop moved roughly 10,000 tests from XCTest to Swift Testing and reported faster CI after parallelizing its test suite.
Depop moved roughly 10,000 tests from XCTest to Swift Testing and reported faster CI after parallelizing its test suite.
Where the time savings came from
InfoQ reports that the team benefited from running tests in parallel. The migration involved more than replacing assertions. Tests that share mutable state can interfere with one another when they run concurrently.
How to assess a migration
Track CI runtime and test reliability together. An automated conversion can help with repetitive changes, while engineers still need to decide where tests need isolated fixtures or deliberate serialization.
Source: www.infoq.com.
Share
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Angry
0
Sad
0
Wow
0