Skip to content

Migrate more test suites to Swift Testing - #948

Draft
bkhouri wants to merge 1 commit into
mainfrom
bkhouri/t/main/migrate_tests_to_swift_testing
Draft

Migrate more test suites to Swift Testing#948
bkhouri wants to merge 1 commit into
mainfrom
bkhouri/t/main/migrate_tests_to_swift_testing

Conversation

@bkhouri

@bkhouri bkhouri commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Migrate seven test suites from XCTest to Swift Testing:

  • InputOriginTests (converted to a parameterized test using
    CustomTestStringConvertible for descriptive case IDs)
  • SendableTests (compile-time-only suite)
  • RawRepresentableEndToEndTests
  • EqualsEndToEndTests
  • EnumEndToEndTests
  • SingleValueParsingStrategyTests
  • AsyncCommandEndToEndTests (marked @Suite(.serialized) with
    @MainActor tests because the suite shares the global statusCheck
    state that XCTest previously serialized implicitly)

Relates to #710

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

Stack created with GitHub Stacks CLIGive Feedback 💬

Migrate seven test suites from XCTest to Swift Testing:

- `InputOriginTests` (converted to a parameterized test using
  `CustomTestStringConvertible` for descriptive case IDs)
- `SendableTests` (compile-time-only suite)
- `RawRepresentableEndToEndTests`
- `EqualsEndToEndTests`
- `EnumEndToEndTests`
- `SingleValueParsingStrategyTests`
- `AsyncCommandEndToEndTests` (marked `@Suite(.serialized)` with
  `@MainActor` tests because the suite shares the global `statusCheck`
  state that XCTest previously serialized implicitly)

Relates to #710
@bkhouri
bkhouri marked this pull request as ready for review August 24, 2026 21:36
@bkhouri
bkhouri marked this pull request as draft August 25, 2026 03:38
@bkhouri
bkhouri marked this pull request as ready for review August 25, 2026 16:44
@bkhouri

bkhouri commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

This is ready to review, but I'm marking as a draft to merge the stack PRs all in a single go.

@bkhouri
bkhouri marked this pull request as draft August 25, 2026 16:45
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