TTD - Test Driven Development for Java Programmers
What is Test Driven Development? Test Driven Development (TDD) is a programming practice that instructs developers to write new code only if an automated test has failed. This avoids duplication of code. Test-Driven Development starts with designing and developing tests for every small functionality of an application. In TDD approach, first, the test is developed which specifies and validates what the code will do. TDD means "Test Driven Development". The primary goal of TDD is to make the code clearer, simple and bug-free. In the normal Software Testing process, we first generate the code and then test. Tests might fail since tests are developed even before the development. In order to pass the test, the development team has to develop and refactors the code. Refactoring a code means changing some code without affecting its behavior. The simple concept of TDD is to write and correct the failed tests before writing new code (before development). This helps to avo...
Comments
Post a Comment