Test Driven Development (TDD)

What is TDD?  TDD (Test Driven Development) is a concept of application development where scripts for testing the application is made earlier than the main program code. Script is meant here is a program code that tests to test the parameter, the value of output produced by a function.

why should use TDD? 

If you have a web development team then the team member you commit the modules they have created by using version control (ex : git). You are sure that the modules they created is going well and there is no error. However, how do you know if they make the module does not cause error module / other existing class? whether you will check his one-on-one for each of the modules? What if there are many (tens to hundreds) modules in your application? what if everyone in your development team commit more than once in a day.

using TDD you do not need to check one by one for each module. You just stay the execution of test scripts that have been made previously. With one whole test script execution that there is going to run your fund will determine more quickly which modules I needed to be fixed.

 

 

Leave a comment