Crate proc_macro_tester

Source
Expand description

This crate provides macros for testing procedural macros.

Only attribute macros are supported at the moment.

Macrosยง

assert_expands
Asserts that the first code block with attribute macro expands to the second code block.
assert_yields
Asserts that the first code block with attribute macro yields the second code block.