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
----------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
No comments:
Post a Comment