I don't see how writing a game is different to any other piece of software as far as testing goes. Each component of the software, whether it be triggering a timed event, sending commands to an in-game character, or pressing menu buttons, should be tested for proper execution. Testing whether the game is possible to complete is a different matter and doesn't fall under unit or integration testing so much.