Login
From:
Ferrous Systems Blog
(Uncensored)
subscribe
Structuring, testing and debugging procedural macro crates
https://ferrous-systems.com/blog/testing-proc-macros/
links
backlinks
Roast topics
Find topics
Find it!
In this blog post we'll explore how to structure a procedural macro, AKA proc-macro, crate to make it easier to test. We'll show different testing approaches: unit tests, for code coverage; compile-fail tests, to ensure good error messages; and