Problem
With Swift Testing being added to the Swift 6 toolchain and the published images & Xcode already containing it, we should migrate all of our Swift repos towards the modern Swift Testing framework.
Solution
All Swift unit tests and should migrate from XCTest to the new Swift Testing framework included in the Swift 6 toolchain. We can follow the documentation article to migrating a test from XCTest.
Contributes working on this issue should first watch the swift-testing WWDC videos:
We should take advantage of test suites, parameterized tests, and parallel testing and optimizing our test suites.
Additional context
No response
Code of Conduct
Problem
With Swift Testing being added to the Swift 6 toolchain and the published images & Xcode already containing it, we should migrate all of our Swift repos towards the modern Swift Testing framework.
Solution
All Swift unit tests and should migrate from
XCTestto the new Swift Testing framework included in the Swift 6 toolchain. We can follow the documentation article to migrating a test from XCTest.Contributes working on this issue should first watch the swift-testing WWDC videos:
We should take advantage of test suites, parameterized tests, and parallel testing and optimizing our test suites.
Additional context
No response
Code of Conduct