Skip to content

Update tests to use swift-macro-testing #6

@stackotter

Description

@stackotter

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions