Post #2859607
2026-04-03 18:39 UTC
@ocornut@mastodon.gamedev.place I have a a half-written rant about how unit tests only find obvious easily-found bugs. The tricky bugs are always the ones where different systems meet. You need holistic end-to-end tests for those, designed to explore the nooks and crannies (and frequently guided by actual past bugs).
Replies (1)
-
@sol_hsa@mastodon.gamedev.place 2026-04-03 18:40
@TomF@mastodon.gamedev.place @ocornut@mastodon.gamedev.place I see unit tests as proofs that code I wrote does something, not a guarantee that the code works correctly =) So in practice, if some change ends up disabling some code, an unit test triggers.