Scrum Master Training

TDD & ATDD

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

TDD & ATDD

Postby techshad@gmail.com 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: 2395
Joined: Fri Jul 11, 2014 11:57 am

Re: TDD & ATDD

Postby seema.sonkiya 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.
junaid
Contributor
Contributor
Posts: 115
Joined: Thu Aug 29, 2019 9:20 am

Re: TDD & ATDD

Postby junaid Sat Oct 19, 2019 10:11 am

Thanks Seema.

Can we say that TDD is like unit testing and ATDD --functional testing ....synonym and if no --whats the difference?

Return to “PMI-ACP® Queries and Tips”

Who is online

Users browsing this forum: No registered users and 7 guests