SlideShare a Scribd company logo
Lleavr
Behavior Driven Development (BDD)
And Test Automation
Presented By Kishor Jyoti Sarma
QA Engineer , ATOLGYS
Copyright 2017 Automated Logical Software (P) Ltd.
Agenda
o What is Automation?
o Need for Test Automation.
o Behavior Driven Development.
o Test Automation Using BDD.
o Frameworks like JBehave .
o Demo
o Q & A
Copyright 2017 Automated Logical Software (P) Ltd.
What is Automation?
 Is Manual Testing Dead? No
 Is Manual Tester(Pure Black Box Tester) Dead?
In future Yes
 In a decade or two manual work will be taken
over by machine learning, image processing
algorithms, Computer vision , Deep learning
algorithms, Sensor fusion AI etc.
 Some Real life examples
Copyright 2017 Automated Logical Software (P) Ltd.
Applitools Eyes
 https://applitools.com/about-us/
Copyright 2017 Automated Logical Software (P) Ltd.
Amazon Go
o Amazon has described Amazon Go as "a new
kind of store with no checkout required". That
means, when you shop at Amazon Go, you'll
never have to wait in line.
o Watch the video here :
https://www.amazon.com/b?node=1600858901
1
Copyright 2017 Automated Logical Software (P) Ltd.
Need for Test Automation
 Saves time and money.
 Reduce redundant work done.
 Faster regression testing.
 More code coverage.
 Test your software with a huge set of data as
well as user.
 Continuous Integration to bridge the gap
between testing and development.
Copyright 2017 Automated Logical Software (P) Ltd.
 There are several different types of software
tests that can be automated.
Unit Testing
Integration Testing
Functional Testing
Black Box testing
Regression Testing
Smoke Testing
Copyright 2017 Automated Logical Software (P) Ltd.
Behaviour Driven Development
 BDD is better than TDD.
 BDD increases user interaction.
 Test cases are replaced by simple story file and
any one can edit , update or write new story.
 A sample story :
Copyright 2017 Automated Logical Software (P) Ltd.
JBehave
 JBehave is a framework for Behavior-Driven
Development (BDD).
 Written in Java.
 Can be use as a maven dependency .
 JBehave has its own grammar based on which
we can create a our own common language
that can be understand by Dev, BA , Testers,
PM etc.
Copyright 2017 Automated Logical Software (P) Ltd.
BDD Using JBehave
 Step 1 - Story:
 Step 2-Mapping to POJO :
Copyright 2017 Automated Logical Software (P) Ltd.
Test Automation Using BDD
Copyright 2017 Automated Logical Software (P) Ltd.
Copyright 2017 Automated Logical Software (P) Ltd.
 Step-3 Write the business logic:
 Step-4 : Configure Stories
Copyright 2017 Automated Logical Software (P) Ltd.
 Step-5: Run Stories
Copyright 2017 Automated Logical Software (P) Ltd.
Demo
 A Sample Application
Given an empty Stack
When I push item ‘orange’
Then count should be 1
 Trellis BDD Framework
Copyright 2017 Automated Logical Software (P) Ltd.
References :
 http://jbehave.org/
 smartbear.com
 http://docs.oracle.com/javase/8/
Copyright 2017 Automated Logical Software (P) Ltd.
Thank YouThank You

More Related Content

PPTX
BDD and Behave
PDF
BDD in Action - building software that matters
PDF
ATAGTR2017 What Lies Beneath Robotics Process Automation
PDF
ATAGTR2017 Test Craftsmanship - From Effectiveness to Greatness
PPTX
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
PDF
Atagg2015 BDD in Test pyramid
PDF
Help! My Legacy Application is Unmaintainable!
PDF
BDD in Action - Devoxx 2014
BDD and Behave
BDD in Action - building software that matters
ATAGTR2017 What Lies Beneath Robotics Process Automation
ATAGTR2017 Test Craftsmanship - From Effectiveness to Greatness
Behaviour Driven Development (BDD) - Closing the Loop on a Great Fiori UX
Atagg2015 BDD in Test pyramid
Help! My Legacy Application is Unmaintainable!
BDD in Action - Devoxx 2014

What's hot (17)

PDF
BDD: There's more to it than you think
PDF
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
PPTX
Behavior Driven Development
PPTX
GraphQL and REST: Frenemies Forever -- DevNexus 2018
PDF
TDD and BDD in Sky Deutschland
PDF
Interview with Issam Lahlali, one of the CppDepend tool creators
PDF
Dont test your code
PDF
BDD in Action - Automated Web Testing with WebDriver and Serenity
PDF
PHP CE 2018 - Building Symfony application with Ports and Adapters approach a...
PDF
BDD with JBehave
PPTX
Behavior-Driven Development (BDD) in context
DOCX
joyjit_resume
PDF
Compete with speed
PDF
BDD-Driven Microservices
PDF
PPTX
Automated Integration Testing in Java using Arquillian
PDF
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
BDD: There's more to it than you think
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
Behavior Driven Development
GraphQL and REST: Frenemies Forever -- DevNexus 2018
TDD and BDD in Sky Deutschland
Interview with Issam Lahlali, one of the CppDepend tool creators
Dont test your code
BDD in Action - Automated Web Testing with WebDriver and Serenity
PHP CE 2018 - Building Symfony application with Ports and Adapters approach a...
BDD with JBehave
Behavior-Driven Development (BDD) in context
joyjit_resume
Compete with speed
BDD-Driven Microservices
Automated Integration Testing in Java using Arquillian
TDD BDD PHP - Sviluppo guidato dai test in PHP con phpspec
Ad

Similar to BDD and Test Automation Tech Talk - Atlogys Academy Series (20)

PPTX
Behavior-Driven Development (BDD) and Its Impact on Software Testing.pptx
PPTX
Bdd test automation analysis
PPTX
What is BDD
PPT
BDD with JBehave and Selenium
PPTX
Jbehave selenium
PPTX
Behavioral driven development the compelling story For Testers
PPTX
Test Automation Frameworks: Assumptions, Concepts & Tools
PPTX
Automation solution
PDF
Behavior Driven Development—A Guide to Agile Practices
PDF
Behavior Driven Testing - A paradigm shift
PDF
BDD with Gauge
PDF
Gauge your BDD Test (vodQA Hyderabad)
PDF
Gauge your BDD Test (vodQA Hyderabad)
PDF
TDD and BDD and ATDD
ODP
Test Automation Framework using Cucumber BDD overview (part 1)
PDF
Intro to TDD & BDD
PDF
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
PDF
2015 in tothebox-introtddbdd
PDF
An introduction to Behavior-Driven Development (BDD)
PPTX
Bdd. Automate your requirements
Behavior-Driven Development (BDD) and Its Impact on Software Testing.pptx
Bdd test automation analysis
What is BDD
BDD with JBehave and Selenium
Jbehave selenium
Behavioral driven development the compelling story For Testers
Test Automation Frameworks: Assumptions, Concepts & Tools
Automation solution
Behavior Driven Development—A Guide to Agile Practices
Behavior Driven Testing - A paradigm shift
BDD with Gauge
Gauge your BDD Test (vodQA Hyderabad)
Gauge your BDD Test (vodQA Hyderabad)
TDD and BDD and ATDD
Test Automation Framework using Cucumber BDD overview (part 1)
Intro to TDD & BDD
ITB2015 - Behavior Driven Development, Automation and Continuous Integration
2015 in tothebox-introtddbdd
An introduction to Behavior-Driven Development (BDD)
Bdd. Automate your requirements
Ad

More from Atlogys Technical Consulting (20)

PPTX
Latest UI guidelines for Web Apps
PDF
Discipline at Atlogys
PDF
Reprogram your mind for Positive Thinking
PDF
PDF
Tests for Scalable, Fast, Secure Apps
PDF
Atomic Design with PatternLabs
PDF
Git and Version Control at Atlogys
PDF
Guidelines HTML5 & CSS3 - Atlogys (2018)
PDF
Rabbit MQ - Tech Talk at Atlogys
PDF
QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)
PDF
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
PDF
How Solr Search Works
PDF
Wordpress Tech Talk
PDF
Tech Talk on ReactJS
PPTX
Atlogys Academy - Tech Talk on Mongo DB
PDF
Atlogys Tech Talk - Web 2.0 Design Guidelines
PDF
Firebase Tech Talk By Atlogys
PPTX
Atlogys - Don’t Just Sell Technology, Sell The Experience!
PPT
Smart CTO Service
PPT
Atlogys Technical Consulting
Latest UI guidelines for Web Apps
Discipline at Atlogys
Reprogram your mind for Positive Thinking
Tests for Scalable, Fast, Secure Apps
Atomic Design with PatternLabs
Git and Version Control at Atlogys
Guidelines HTML5 & CSS3 - Atlogys (2018)
Rabbit MQ - Tech Talk at Atlogys
QA Best Practices at Atlogys - Tech Talk (Atlogys Academy)
Infinite Scaling using Lambda and Aws - Atlogys Tech Talk
How Solr Search Works
Wordpress Tech Talk
Tech Talk on ReactJS
Atlogys Academy - Tech Talk on Mongo DB
Atlogys Tech Talk - Web 2.0 Design Guidelines
Firebase Tech Talk By Atlogys
Atlogys - Don’t Just Sell Technology, Sell The Experience!
Smart CTO Service
Atlogys Technical Consulting

Recently uploaded (20)

PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
cuic standard and advanced reporting.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Mobile App Security Testing_ A Comprehensive Guide.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
“AI and Expert System Decision Support & Business Intelligence Systems”
The AUB Centre for AI in Media Proposal.docx
Chapter 3 Spatial Domain Image Processing.pdf
cuic standard and advanced reporting.pdf
Unlocking AI with Model Context Protocol (MCP)
Reach Out and Touch Someone: Haptics and Empathic Computing
MYSQL Presentation for SQL database connectivity
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
NewMind AI Weekly Chronicles - August'25 Week I
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Review of recent advances in non-invasive hemoglobin estimation
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks

BDD and Test Automation Tech Talk - Atlogys Academy Series

  • 1. Lleavr Behavior Driven Development (BDD) And Test Automation Presented By Kishor Jyoti Sarma QA Engineer , ATOLGYS Copyright 2017 Automated Logical Software (P) Ltd.
  • 2. Agenda o What is Automation? o Need for Test Automation. o Behavior Driven Development. o Test Automation Using BDD. o Frameworks like JBehave . o Demo o Q & A Copyright 2017 Automated Logical Software (P) Ltd.
  • 3. What is Automation?  Is Manual Testing Dead? No  Is Manual Tester(Pure Black Box Tester) Dead? In future Yes  In a decade or two manual work will be taken over by machine learning, image processing algorithms, Computer vision , Deep learning algorithms, Sensor fusion AI etc.  Some Real life examples Copyright 2017 Automated Logical Software (P) Ltd.
  • 5. Amazon Go o Amazon has described Amazon Go as "a new kind of store with no checkout required". That means, when you shop at Amazon Go, you'll never have to wait in line. o Watch the video here : https://www.amazon.com/b?node=1600858901 1 Copyright 2017 Automated Logical Software (P) Ltd.
  • 6. Need for Test Automation  Saves time and money.  Reduce redundant work done.  Faster regression testing.  More code coverage.  Test your software with a huge set of data as well as user.  Continuous Integration to bridge the gap between testing and development. Copyright 2017 Automated Logical Software (P) Ltd.
  • 7.  There are several different types of software tests that can be automated. Unit Testing Integration Testing Functional Testing Black Box testing Regression Testing Smoke Testing Copyright 2017 Automated Logical Software (P) Ltd.
  • 8. Behaviour Driven Development  BDD is better than TDD.  BDD increases user interaction.  Test cases are replaced by simple story file and any one can edit , update or write new story.  A sample story : Copyright 2017 Automated Logical Software (P) Ltd.
  • 9. JBehave  JBehave is a framework for Behavior-Driven Development (BDD).  Written in Java.  Can be use as a maven dependency .  JBehave has its own grammar based on which we can create a our own common language that can be understand by Dev, BA , Testers, PM etc. Copyright 2017 Automated Logical Software (P) Ltd.
  • 10. BDD Using JBehave  Step 1 - Story:  Step 2-Mapping to POJO : Copyright 2017 Automated Logical Software (P) Ltd.
  • 11. Test Automation Using BDD Copyright 2017 Automated Logical Software (P) Ltd.
  • 12. Copyright 2017 Automated Logical Software (P) Ltd.  Step-3 Write the business logic:
  • 13.  Step-4 : Configure Stories Copyright 2017 Automated Logical Software (P) Ltd.
  • 14.  Step-5: Run Stories Copyright 2017 Automated Logical Software (P) Ltd.
  • 15. Demo  A Sample Application Given an empty Stack When I push item ‘orange’ Then count should be 1  Trellis BDD Framework Copyright 2017 Automated Logical Software (P) Ltd.
  • 16. References :  http://jbehave.org/  smartbear.com  http://docs.oracle.com/javase/8/ Copyright 2017 Automated Logical Software (P) Ltd. Thank YouThank You