Test Driven Development
Test Driven Development
Test Driven Development is the process in which test cases are written before the code that
validates those cases.
Test driven Development is a technique in which automated Unit test are used to drive the design
and free decoupling of dependencies.
Add a test – Write a test case that describe the function completely. In order to make the test cases
the developer must understand the features and requirements using user stories and use cases.
Run all the test cases and make sure that the new test case fails
Benefits
TDD ensures that your application actually meets requirements defined for it.