tjhowse on Nostr: I firmly believe code that doesn't come with comprehensive test coverage is dead ...
I firmly believe code that doesn't come with comprehensive test coverage is dead code.
However writing unit tests in #gamedev is so very hard. All the interactions with the engine make validation a nightmare. I'm vaguely thinking of building a set of scenes that run through a set of pre-canned gameplay scenarios and checking the right entities are in the right state at the end... but it'd be very complicated.
Any suggestions?
#indiedev #indiegamedev #godot #godotengine
However writing unit tests in #gamedev is so very hard. All the interactions with the engine make validation a nightmare. I'm vaguely thinking of building a set of scenes that run through a set of pre-canned gameplay scenarios and checking the right entities are in the right state at the end... but it'd be very complicated.
Any suggestions?
#indiedev #indiegamedev #godot #godotengine