latest blogging: July 22, 2022 — more bloggings — subscribe
Try Snapshot Testing for Compilers and Compiler-Like Things
Snapshot testing is a preposterously simple method for testing tools that transform text to other text, like compilers. This post is an example-based overview of snapshot testing using a tool we developed in our lab called Turnt. I also extoll the subversive philosphy that the technique embodies, which prioritizes the velocity of adding new regression tests over traditional goals like precision and specificity.