Skip to content

Commit fe0773e

Browse files
committed
Recore SwiftSyntaxMacrosTestSupport on top of SwiftSyntaxMacrosTestSupportFrameworkAgnostic
1 parent 7041ed8 commit fe0773e

File tree

4 files changed

+27
-499
lines changed

4 files changed

+27
-499
lines changed

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ let package = Package(
223223
"SwiftIDEUtils",
224224
"SwiftParser",
225225
"SwiftSyntaxMacros",
226+
"SwiftSyntaxMacrosTestSupportFrameworkAgnostic",
226227
"SwiftSyntaxMacroExpansion",
227228
]
228229
),

Release Notes/600.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
- Description: `Range<AbsolutePosition>` gained a few convenience functions inspired from `ByteSourceRange`: `init(position:length:)`, `length`, `overlapsOrTouches`
9696
- Pull request: https://github.com/apple/swift-syntax/pull/2587
9797

98+
- `SwiftSyntaxMacrosTestSupportFrameworkAgnostic`
99+
- Description: A version of the `SwiftSyntaxMacrosTestSupport` module that doesn't depend on `Foundation` or `XCTest` and can thus be used to write macro tests using `swift-testing`. Since swift-syntax can't depend on swift-testing (which would incur a circular dependency since swift-testing depends on swift-syntax), users need to manually specify a failure handler that fails the swift-testing test.
100+
- Pull request: https://github.com/apple/swift-syntax/pull/2647
101+
98102
## API Behavior Changes
99103

100104
## Deprecations

0 commit comments

Comments
 (0)