Migrate more end-to-end test suites to Swift Testing - #950
Open
bkhouri wants to merge 1 commit into
Open
Conversation
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 25, 2026 03:26
0edbff1 to
e021a09
Compare
bkhouri
marked this pull request as ready for review
August 25, 2026 03:37
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
3 times, most recently
from
August 25, 2026 04:01
27c9e75 to
09725fa
Compare
bkhouri
commented
Aug 25, 2026
| @@ -107,27 +106,27 @@ private struct Bar: ParsableArguments { | |||
| // swift-format-ignore: AlwaysUseLowerCamelCase | |||
| // https://github.com/apple/swift-argument-parser/issues/710 | |||
Contributor
Author
There was a problem hiding this comment.
note: these comments are removed in another PR.
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
2 times, most recently
from
August 26, 2026 07:49
877bf6f to
3be2783
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 26, 2026 07:54
3be2783 to
bed5d29
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 26, 2026 18:18
bed5d29 to
59d2488
Compare
natecook1000
approved these changes
Aug 26, 2026
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 26, 2026 19:55
59d2488 to
b96fc3c
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 27, 2026 02:47
b96fc3c to
7a53978
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 27, 2026 15:43
7a53978 to
a1cd205
Compare
Migrate four `ArgumentParserEndToEndTests` suites from XCTest to Swift Testing: - `ShortNameEndToEndTests` - `JoinedEndToEndTests` - `LongNameWithSingleDashEndToEndTests` - `SimpleEndToEndTests` Each file previously imported both `Testing` and `XCTest` from earlier prep work but still used `XCTestCase` and `XCTAssert*`. Convert to `@Suite struct` + `@Test func`, `AssertParse` → `expectParse`, `XCTAssertEqual` → `#expect(a == b)`, and `XCTAssertThrowsError` → `#expect(throws: (any Error).self)`. No new helpers required. Relates to #710
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch3
branch
from
August 27, 2026 17:07
a1cd205 to
9fdcea3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrate four
ArgumentParserEndToEndTestssuites from XCTest toSwift Testing:
ShortNameEndToEndTestsJoinedEndToEndTestsLongNameWithSingleDashEndToEndTestsSimpleEndToEndTestsEach file previously imported both
TestingandXCTestfrom earlierprep work but still used
XCTestCaseandXCTAssert*. Convert to@Suite struct+@Test func,AssertParse→expectParse,XCTAssertEqual→#expect(a == b), andXCTAssertThrowsError→#expect(throws: (any Error).self). No new helpers required.Relates to #710
Checklist
Stack created with GitHub Stacks CLI • Give Feedback 💬