InterviewSolution
| 1. |
What is Test-Driven-Development? |
|
Answer» Test-Driven-DEVELOPMENT (TDD) is a popular software development technique, first introduced by Kent Beck in his book with the same name, published in 1999. In TDD, a developer working on a feature first writes a failing test, then writes just enough code to make that test pass. Once they have a passing test, they add another failing test and then write just enough code to pass the failing test. This cycle repeats until the developer has the fully working feature. If the code under the test has external dependencies such as database, files, or network, you can MOCK them to isolate the code. Benefits of TDD:
|
|