How do you test your code?
I like using unit test for code that might have bugs (complex function that doesn't do what you would expect) and test levels for testing interactions (typical game bugs). After your game reaches a certain size beta testers seem to be more or less the only solution.
More on reddit.comSmall/solo devs - how do you approach testing code?
Videos
How do you check your game is bug free, work in all supported platforms and balanced?
Do you use Game Testing Services? Releasing alpha and beta to selected persons? Play with friend? Rely only on your personal knowledge of the force and jedi training?
And provid the scope of your game, how big is it?
Writing tests for non-game code is relatively easy, but for game code I find it impossible. To what extent are you expected to be able to test parts of a real time, interactive program? And how do you do so?
I like using unit test for code that might have bugs (complex function that doesn't do what you would expect) and test levels for testing interactions (typical game bugs). After your game reaches a certain size beta testers seem to be more or less the only solution.
In production.
I am a hobbyist/solo developer, so I typically reserve testing for new systems as a way to simplify coding them and work out bugs quicker. They don't tend to be important to me as a 'living' test, nor do I have the concerns of a larger team or project to worry about. Just curious what practices people here follow, since testing is I think a process that changes a lot according to the needs and scope of a game.
Larger team developers feel free to reply also, although the benefits are a little more clear once many chefs are working in the same kitchen.