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

Convert HTTPTypesTests and HTTPTypesFoundationTests to Swift Testing #62

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kevherro
Copy link

Refactors existing XCTest-based unit tests to use Swift Testing. Updates test structure with @Suite and @Test attributes, replaces XCTAssert calls with #expect macro, replaces XCTUnwrap calls with #require macro, and bumps Swift tools version to 5.10.

@guoye-zhang
Copy link
Collaborator

Thanks for opening this PR.

We cannot bump the tools version to 5.10 yet due to downstream dependents needing to support older Swift versions. This will have to wait unfortunately.

@kevherro
Copy link
Author

@guoye-zhang thanks for taking a look. Sounds good. Feel free to retain this PR for future testing of downstream dependency migrations to newer Swift versions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants