+ 1
Do you know how I can do TDD test driven development with a game development?
4 Réponses
+ 3
TDD is a methodology, a procedure you follow while writing code. It can be applied to any software project. The point is that you write a test first, then write the code that makes the test pass. Then incrementally build up the codebase, adding new tests and new code in response, continuously refactoring the code and making sure that all the old tests keep passing.
Each test is responsible for a certain feature or aspect of the program, maybe a special scenario, from user perspective. All the tests combined, should be able to cover the business requirements formulated against the project.
You would normally keep the tests and the program in different files, even in different folders.
Watch Uncle Bob explain and show how.
https://youtu.be/AoIfc5NwRks
+ 2
Thanks
+ 1
What do you mean with TDD
0
Test driven development Dragonxiv