Settings

Theme

Testing Can Be Fun, Actually

giacomocavalieri.me

5 points by seafoamteal a month ago · 2 comments

Reader

Oliviia_r a month ago

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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection