Migrate tooling test targets to Swift Testing - #956
Open
bkhouri wants to merge 1 commit into
Open
Conversation
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 25, 2026 03:34
e1d6d00 to
4eb5235
Compare
bkhouri
marked this pull request as ready for review
August 25, 2026 03:36
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 25, 2026 03:54
4eb5235 to
62187ef
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 25, 2026 03:56
62187ef to
27a7818
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 25, 2026 04:01
27a7818 to
0d15b5e
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 25, 2026 16:30
4d1a394 to
59a2f90
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 26, 2026 06:41
3a4c24a to
fc75b82
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 26, 2026 07:49
fc75b82 to
9d2bffc
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 26, 2026 18:18
00dcfbb to
e66e88f
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 26, 2026 19:55
e66e88f to
acc2849
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 26, 2026 23:18
acc2849 to
d081ae1
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 27, 2026 02:47
d081ae1 to
1ffd715
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 27, 2026 15:52
81946ff to
b619d97
Compare
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
2 times, most recently
from
August 27, 2026 17:45
391bbe2 to
3d49e0b
Compare
Migrate the two tooling test targets from XCTest to Swift Testing: - `Tests/ArgumentParserGenerateDoccReferenceTests/GenerateDoccReferenceTests` - `Tests/ArgumentParserGenerateManualTests/GenerateManualTests` Add two Swift Testing helpers to `TestHelpers+SwiftTesting.swift` that mirror the XCTest-only versions in `TestHelpers.swift`: - `expectGenerateManual(multiPage:command:)` — runs the `generate-manual` executable and compares against `.mdoc` snapshots. - `expectGeneratedReference(command:doccFlavored:)` — runs the `generate-docc-reference` executable and compares against `.md` snapshots (docc-flavored or plain). Both preserve the `#function`-based snapshot lookup so existing baselines under `Snapshots/` are found without renaming. With this PR, no test files in the repository import XCTest. Closes #710
bkhouri
force-pushed
the
bkhouri/t/main/migrate_tests_to_swift_testing_batch8
branch
from
August 27, 2026 17:54
3d49e0b to
2b1dd6f
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 the two tooling test targets from XCTest to Swift Testing:
Tests/ArgumentParserGenerateDoccReferenceTests/GenerateDoccReferenceTestsTests/ArgumentParserGenerateManualTests/GenerateManualTestsAdd two Swift Testing helpers to
TestHelpers+SwiftTesting.swiftthat mirror the XCTest-only versions in
TestHelpers.swift:expectGenerateManual(multiPage:command:)— runs thegenerate-manualexecutable and compares against.mdocsnapshots.expectGeneratedReference(command:doccFlavored:)— runs thegenerate-docc-referenceexecutable and compares against.mdsnapshots (docc-flavored or plain).
Both preserve the
#function-based snapshot lookup so existingbaselines under
Snapshots/are found without renaming.With this PR, no test files in the repository import XCTest.
Closes #710
Checklist
Stack created with GitHub Stacks CLI • Give Feedback 💬