I really liked how snapshot testing is shown not as a “fashionable tool”, but as a way to make testing understandable and even enjoyable. The examples from CLI and language server are especially strong — they demonstrate well that the readability of tests is sometimes more important than the formal accuracy of individual asserts. The idea of turning complex structures into well-thought-out, visual snapshots looks very practical, because it greatly simplifies code review and reduces cognitive load. After such examples, you really start to look at tests not as a necessary evil, but as a tool for communication in the team.
Oliviia_r•1h ago
giacomocava•1h ago