TDD (test-driven development) is a style of software development presented mainly by Kent Beck’s Extreme Programming (XP) Agile method. The practice involves the implementation of a system from the test cases of an object. In this chapter, you learn how TDD can be applied to games from the theoretical perspective and which practices can improve your development experience when developing with TDD.
When writing test cases, the code is implemented based on the demand of each test. You must ...