Elektrine lite

← Feed

@TomF@mastodon.gamedev.place

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)

  • @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.

    Open ##2859608