What's the intended way to write unit-tests for macros

Say I write a macro that does some AST transformation, how do I write unit-tests that verify the resulting AST?

1 Like