Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Swift Testing from XCTest #95

Open
1 task done
philippzagar opened this issue Jan 30, 2025 · 0 comments
Open
1 task done

Migrate to Swift Testing from XCTest #95

philippzagar opened this issue Jan 30, 2025 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@philippzagar
Copy link
Member

philippzagar commented Jan 30, 2025

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 packages towards the modern Swift Testing framework.

Solution

All 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.

Code of Conduct

  • I agree to follow this project's Code of Conduct and Contributing Guidelines
@philippzagar philippzagar added enhancement New feature or request good first issue Good for newcomers labels Jan 30, 2025
@philippzagar philippzagar changed the title Migrate to swift-testing from XCTest Migrate to Swift Testing from XCTest Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant