Test-Driven Development

Test-driven development (TDD) is an agile technique where a developer will write a basic test case to verify the desired functionality, knowing that it will fail, and then writes the minimum amount of code to pass the test. The developer will then enhance the code to ensure that it meets acceptable performance and coding standards and principles.