swift-macro-testing is an amazing library for testing macros in a very succinct way! Additionally, it automatically generates fixme's to update tests when the expected behaviour has changed 😱 Thanks to @maximkrouk for letting me know that it existed 🙏
This issue can be resolved once all of the tests have been switched over to using swift-macro-testing and the import for SwiftSyntaxMacrosTestSupport has been removed. I think this issue should be relatively introductory as swift-macro-testing's API isn't too different to Swift Syntax's assertMacroExpansion function, the main benefits come from improved diagnostics and automated test updates.
swift-macro-testing is an amazing library for testing macros in a very succinct way! Additionally, it automatically generates fixme's to update tests when the expected behaviour has changed 😱 Thanks to @maximkrouk for letting me know that it existed 🙏
This issue can be resolved once all of the tests have been switched over to using
swift-macro-testing
and the import forSwiftSyntaxMacrosTestSupport
has been removed. I think this issue should be relatively introductory asswift-macro-testing
's API isn't too different to Swift Syntax'sassertMacroExpansion
function, the main benefits come from improved diagnostics and automated test updates.