Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

[@NaukriEngineering] BDD implementation using Cucumber

502 views

Published on

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.

Published in: Engineering
  • Be the first to comment

[@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!

×