swift-syntax icon indicating copy to clipboard operation
swift-syntax copied to clipboard

`SwiftSyntaxMacrosTestSupport` should warn when being used from Swift Testing

Open 0xTim opened this issue 4 months ago • 0 comments

Description

SwiftSyntaxMacrosTestSupport does not work with Swift Testing and will cause false positives when running tests. The library should detect when it's being invoked in a Swift Testing environment and fail to build or at the very least show a warning that's hard to miss.

This is a stop gap until #2720 is resolved

Steps to Reproduce

No response

0xTim avatar Nov 16 '25 23:11 0xTim