Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

[@NaukriEngineering] BDD implementation using Cucumber

658 vues

Publié le

BDD is a software development methodology in which an application is specified and designed by describing how its behavior should appear to an outside observer. It can easily be implemented using Cucumber and Java. Cucumber is a software tool that runs automated acceptance tests written in BDD format.

Publié dans : Ingénierie
  • Soyez le premier à commenter

[@NaukriEngineering] BDD implementation using Cucumber

  1. 1. BDD using Cucumber Presented By: Shazeb Khan Rachit Saxena
  2. 2. BDD
  3. 3. Core Principles • It’s a behavior everyone involved should have the same way of thinking about the system and what it does. • BDD describes the behavior of your software in a very understandable way.
  4. 4. About Cucumber • Cucumber is a software testing tool which adopts the Behavior Driven Development (BDD) approach of application testing. • It allows automation of functional validation in easily readable and understandable format (like plain English) to Business Analysts, Developers, Testers, etc. • Incorporated with Selenium Webdriver, Cucumber can be used to run automated test cases on frameworks like Junit, Testng etc.
  5. 5. About Cucumber
  6. 6. Jars Required • selenium-server • cucumber-junit • cucumber-java • cucumber-jvm • junit
  7. 7. Create a Feature File
  8. 8. Step Definition • Reusable • Cucumber gives you copy & paste code
  9. 9. a. Copy & paste code given by Cucumber b. You just need to define each method Step Definition Class - Example
  10. 10. Here’s your cucumber sandwich for patiently listening THANKS!

×