Actually, Kent Beck, who coined the term TDD, has the following to say in his book "Test Driven Development":
"In Test-Driven Development, we Write new code only if an automated test has failed"
This implies that in TDD the test is written first.
Regardless of any definition, test-first and test-last are just two ends of a scale we can use.
Actually, Kent Beck, who coined the term TDD, has the following to say in his book "Test Driven Development":
"In Test-Driven Development, we Write new code only if an automated test has failed"
This implies that in TDD the test is written first.
Regardless of any definition, test-first and test-last are just two ends of a scale we can use.