Setting Up Your Test Suite
Learn to test macros to maintain our libraries by using different test-case strategies.
The test suite
Any good library is only as reliable as the test suite behind it. We’ve written our own language features and a couple of essential application libraries in the previous chapters. We even saw how macros let us create an expressive test framework. What we haven’t learned yet is how to test macros themselves and the code generation they ...
Access this course and 1400+ top-rated courses and projects.