BDD-Part1: What is Behavior Driven Development? Why use BDD Framework? Advantages Of BDD Framework?
#CucumberHTMLreport #CucumberBDDframework #cypress What is BDD? : This is a development method which has evolved from the Test-driven development process. Behavior Driven development is mostly about technical insight and business knowledge. -▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬ Why use BDD Framework? Before the BDD framework, everyone was using TDD. TDD works fine in software development, provided the stakeholders are familiar with the framework being used and their technical knowledge is sufficient. However, this may not be the case always. BDD provides a path that acts as a bridge to overcome the gap between the technical and the non-technical teams because the test cases are commonly written in simple text, i.e. English. The main advantage of BDD is the plain and clearer approach which is easier to understand. BDD Format to write test case: Given – When – Then Approach • Given: Some given context (Preconditions). • When: Some Action is performed (Actions). • Then: Particular outcome/consequence after the above step (Results). ---------------------------------------------------------------------- Where this test case written?: in a Feature File Example of Feature File: Feature: Login function of Gmail Application Scenario: As a valid user I should able to Login to G-mail Given User is navigating to G-mail Login Page When User need to enter username as "Username" and password as "Password" Then User is successfully navigated to the G-mail Mail Box Doc Source: https://codenboxautomationlab.com/category/cypress/ ▬▬▬▬▬▬ Useful Links ? ▬▬▬▬▬▬ Blog ► http://codenboxautomationlab.com/ GitRepo ► https://github.com/codenbox/Cucumber-BDD-POM-Cypress.git Web link ► https://codenboxautomationlab.com/category/cypress/ ▬▬▬▬▬▬ Connect with us ? ▬▬▬▬▬▬ ~~~Subscribe to this channel, and press bell icon to get all updated videos on Selenium and Cypress Automation: https://www.youtube.com/c/CodenboxAutomationLab/playlists ~~~ Follow us on Facebook & Twitter to get more updates: https://www.facebook.com/CodenBoxQA/ https://twitter.com/CodenboxTeam
#CucumberHTMLreport #CucumberBDDframework #cypress What is BDD? : This is a development method which has evolved from the Test-driven development process. Behavior Driven development is mostly about technical insight and business knowledge. -▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬ Why use BDD Framework? Before the BDD framework, everyone was using TDD. TDD works fine in software development, provided the stakeholders are familiar with the framework being used and their technical knowledge is sufficient. However, this may not be the case always. BDD provides a path that acts as a bridge to overcome the gap between the technical and the non-technical teams because the test cases are commonly written in simple text, i.e. English. The main advantage of BDD is the plain and clearer approach which is easier to understand. BDD Format to write test case: Given – When – Then Approach • Given: Some given context (Preconditions). • When: Some Action is performed (Actions). • Then: Particular outcome/consequence after the above step (Results). ---------------------------------------------------------------------- Where this test case written?: in a Feature File Example of Feature File: Feature: Login function of Gmail Application Scenario: As a valid user I should able to Login to G-mail Given User is navigating to G-mail Login Page When User need to enter username as "Username" and password as "Password" Then User is successfully navigated to the G-mail Mail Box Doc Source: https://codenboxautomationlab.com/category/cypress/ ▬▬▬▬▬▬ Useful Links ? ▬▬▬▬▬▬ Blog ► http://codenboxautomationlab.com/ GitRepo ► https://github.com/codenbox/Cucumber-BDD-POM-Cypress.git Web link ► https://codenboxautomationlab.com/category/cypress/ ▬▬▬▬▬▬ Connect with us ? ▬▬▬▬▬▬ ~~~Subscribe to this channel, and press bell icon to get all updated videos on Selenium and Cypress Automation: https://www.youtube.com/c/CodenboxAutomationLab/playlists ~~~ Follow us on Facebook & Twitter to get more updates: https://www.facebook.com/CodenBoxQA/ https://twitter.com/CodenboxTeam