what's new in 2026 wwdc about swift testing?
Asked on 2026-06-12
1 search
In WWDC 2026, the main Swift Testing update is better interoperability between XCTest and Swift Testing:
- XCTest assertion failures now show up as test issues when called from Swift Testing
- This helps you migrate without silently losing coverage.
- Swift Testing APIs like
#expectalso work insideXCTestCase- So helper APIs can behave consistently in either framework.
- Cross-framework issues are reported as warnings by default
- You can promote them to test failures in Xcode build settings if you want stricter enforcement.
Apple also recommends checking out Migrate to Swift Testing for migration strategies, and notes that Xcode 27 enables interoperability by default.
If you want, I can also summarize the Swift Testing-specific features mentioned in WWDC 2026 like parameterized tests and exit tests.

What’s new in Swift
Join us for an update on Swift. Discover the latest language advancements, including updates for everyday ergonomics, improved concurrency, and safer high-performance code. Explore workflow and language interoperability improvements and updates in embedded Swift.

Migrate to Swift Testing
Learn how to fearlessly adopt Swift Testing alongside your XCTests using test framework interoperability. Discover best practices and patterns for incrementally introducing advanced testing features that accelerate development and increase coverage.

Platforms State of the Union
Discover the newest advancements on Apple platforms.
