forum pin post

TDD & ATDD

Exclusive forum for iZenBirdge PMI-ACP® clients
techshad@gmail.com
Posts: 4
Joined: Wed Aug 07, 2019 3:42 am

TDD & ATDD

Tue Oct 15, 2019 1:30 pm

What is the difference between TDD & ATDD ?

I have this understanding :

(ATDD) is a practice in which the whole team collaboratively discusses acceptance criteria, with examples, and then distills them into a set of concrete acceptance tests before development begins.

TDD-for the sake of maintainability, focuses on unit tests being written before code and refactoring.

In Acceptance Test-Driven Development (ATDD), focus on Business requirement testing.
Acceptance Test Driven Development involves creating tests before code, and those tests represent expectations of behavior the software should have.

Both TDD & ATDD creating test before code then how to differentiate them ?
seema.sonkiya
Expert
Expert
Posts: 2448
Joined: Fri Jul 11, 2014 11:57 am

Re: TDD & ATDD

Fri Oct 18, 2019 4:40 pm

Yes, Both TDD & ATDD creating test before code. The difference is:

TDD is paradigm where you write test first before coding. It ensures, tests are always available. It result in comprehensive unit tests, which you can run any time.

ATDD is little more specific related to writing tests. In ATDD, requirements are in the form of acceptance tests, and uses them in drive the development.

Return to “PMI-ACP® Queries and Tips”