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 #79

Open
1 of 27 tasks
philippzagar opened this issue Jan 30, 2025 · 0 comments
Open
1 of 27 tasks

Migrate to Swift Testing from XCTest #79

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

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.

Related Issues

Additional context

Feel free to use comments under the associated issues to discuss the best way to approach updating to swift-testing for the Spezi modules.

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 moved this from Backlog to Focus Areas in Project Planning 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
Status: Focus Areas
Development

No branches or pull requests

1 participant