Do you know how I can do TDD test driven development with a game development? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Do you know how I can do TDD test driven development with a game development?

4th Aug 2020, 5:06 PM
CRISTHIAN JUMBO
CRISTHIAN JUMBO - avatar
4 Answers
+ 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
4th Aug 2020, 8:38 PM
Tibor Santa
Tibor Santa - avatar
+ 2
Thanks
4th Aug 2020, 9:43 PM
Dragonxiv
Dragonxiv - avatar
+ 1
What do you mean with TDD
4th Aug 2020, 5:20 PM
Dragonxiv
Dragonxiv - avatar
0
Test driven development Dragonxiv
4th Aug 2020, 5:45 PM
CRISTHIAN JUMBO
CRISTHIAN JUMBO - avatar