Is unit testing viable in game programming?

后端 未结 7 1027
-上瘾入骨i
-上瘾入骨i 2021-01-30 01:06

I\'m fond of the idea of unit testing but I\'m having trouble applying it to game programming. Games are highly stateful and often the code doesn\'t break itself into distinct u

7条回答
  •  再見小時候
    2021-01-30 01:19

    Take a look at PEX for automated unit test generation. It will generate unit tests for all possible input variations, which will help you test a lot of possible combinations.

提交回复
热议问题