swift-http-types icon indicating copy to clipboard operation
swift-http-types copied to clipboard

Convert HTTPTypesTests and HTTPTypesFoundationTests to Swift Testing

Open kevherro opened this issue 1 year ago • 2 comments

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.

kevherro avatar Jul 30 '24 22:07 kevherro

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.

guoye-zhang avatar Jul 30 '24 22:07 guoye-zhang

@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!

kevherro avatar Jul 30 '24 22:07 kevherro