Whats the difference between tdd and automated tests

softwaretdd

Whats the difference between tdd and automated tests? I'm confused.

Best Answer

Automated Tests are tests that are automated, i.e. tests that don't have to be performed manually.

Test-Driven Development is a Software Development Methodology in which Tests drive the entire development process. In order to drive the process, writing tests needs to be the very first thing you do; when you have written a failing test, the test tells you what code to write, which code to write next, and when you are finished writing code. The tests are the driver for the entire development process.

The two don't really have anything to do with each other (apart from the fact that typically, the tests used in TDD are automated tests), so asking about their difference is about as meaningful as asking about the difference between a Toyota Corolla and the color blue.