Elektrine lite

← Feed

@ocornut@mastodon.gamedev.place

Post #963055

2026-04-03 18:33 UTC

I can never understate how automated tests - not unit tests - using my custom framework have improved my productivity. Tests are focused on tricky code, unobvious behaviors or when combinatorial explosion would make manual testing prohbitive. (capture is in slowed down mode)

Replies (2)

  • @TomF@mastodon.gamedev.place 2026-04-03 18:39

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

    Open ##2859607

  • @ocornut@mastodon.gamedev.place technically, that's integration tests https://en.wikipedia.org/wiki/Integration_testing, that's what you are supposed to do after unit test in your test suite... However, everybody seems to have forgotten this for some reason, only focusing on unit test even though that's is half the answer

    Open ##2859615