Tuesday, February 15, 2022

BDD - Behavioral Driven Development - TDD: - Test Driven Development - ATDD: - Acceptance Test Driven Development

 BDD : Focus on how the system should behave from customer's and end user's perspective.


Advantage: Reduce efforts required to verify any post deployment defects.


Requirements are written in simple language. One can write requirement / story using Gherkin format. (Given , When , Then). Gherkin can be used and understood by non-technical persons. However it provides structure to be used by developers as a basis for automated testing and living documentation


Tool : Cucumber



----------------------------------------------------------------------------------------------------------------------------

TDD: It focuses on extreme programming principles. Unit testing is carried out on the source code

Automated test scripts are written before functional piece of code

Tool : Cucumber, Junit , TestNG



----------------------------------------------------------------------------------------------------------------------------

ATDD - Acceptance Test Driven development

A single acceptance test is written from user's perspective. It mainly validates the functional behavior of the system. During this process Stories can be very useful.

This process is carried out at the end of each sprint.

----------------------------------------------------------------------------------------------------------------------------


No comments:

Post a Comment