Testing Can Be Fun, Actually(giacomocavalieri.me)
5 points by seafoamteal 7 hours ago | 2 comments
- Oliviia_r 7 hours agoI 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.[-]
- giacomocava 7 hours agoThanks!!