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 unit tests to swift-testing #175

Merged
merged 23 commits into from
Oct 20, 2024
Merged

Migrate unit tests to swift-testing #175

merged 23 commits into from
Oct 20, 2024

Conversation

fwcd
Copy link
Owner

@fwcd fwcd commented Oct 19, 2024

Fixes #174

This migrates D2's tests to swift-testing, the new testing framework introduced in Swift 6.

swift-testing has a much nicer API, integrates better which async/await, which was previously a bit tedious to use due to XCTest using autoclosures in assertions, and finally also provides support for parameterized testing.

@fwcd fwcd added the refactoring Improvements to the code structure label Oct 19, 2024
@fwcd fwcd merged commit b5a46a2 into main Oct 20, 2024
3 checks passed
@fwcd fwcd deleted the swift-testing branch October 20, 2024 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Improvements to the code structure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate to swift-testing
1 participant