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.

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.

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 Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0