StanfordBDHG/XCTRuntimeAssertions

Migrate to Swift Testing from XCTest

Open

#18 aperta il 30 gen 2025

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Swift (2 fork)auto 404
enhancementgood first issue

Metriche repository

Star
 (2 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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

  • I agree to follow this project's Code of Conduct and Contributing Guidelines

Guida contributor