Skip to content

Migrate some tests to Swift Testing#920

Draft
bkhouri wants to merge 2 commits into
mainfrom
bkhouri/t/main/update_test_helpers_to_support_swift_testing
Draft

Migrate some tests to Swift Testing#920
bkhouri wants to merge 2 commits into
mainfrom
bkhouri/t/main/update_test_helpers_to_support_swift_testing

Conversation

@bkhouri

@bkhouri bkhouri commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Start the process of migrating a few test suites from XCTest to Swift Testing library.

As part of this change, refactor the helpers functions to create core function, and add. think wrapper for the XCTest and Swift Testing API.

Relates to: #710
Blocked by swiftlang/swift-format#1243

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary

Start the process of migrating a few test suites from XCTest to Swift
Testing library.

As part of this change, refactor the helpers functions to create core
function, and add. think wrapper for the XCTest and Swift Testing API.

Relates to: #710
@bkhouri bkhouri force-pushed the bkhouri/t/main/update_test_helpers_to_support_swift_testing branch from 66c726d to 476dd38 Compare July 10, 2026 13:17
@natecook1000

Copy link
Copy Markdown
Member

@grynspan Any issues with starting this migration?

@grynspan

Copy link
Copy Markdown

Nope, go for it. Our possible dependency on Swift Argument Parser will be in an executable target only, i.e. a leaf node in the dependency graph, so no risk of a circular dependency.

@bkhouri bkhouri force-pushed the bkhouri/t/main/update_test_helpers_to_support_swift_testing branch from f54372d to a7395b3 Compare July 10, 2026 16:48
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.

3 participants