SlideShare une entreprise Scribd logo
1  sur  19
DIGESTING CUCUMBER SALAD 
PREVIEW THE USE OF CUCUMBER 
IN AGILE PROCESS 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Agenda 
• The Agile Attitude 
• Understanding System Behavior 
• Introduction to Cucumber 
• Install and Configure Cucumber 
• Implement BDD using Cucumber 
• Cucumber & Selenium 
• Conclusion 
Confidential | Copyright © Agile Testing Alliance Global Gathering
WHY CUCUMBER?!!! 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Agile Attitude 
• Agile is a mindset defined by values, guided by 
principles and manifested through many different 
practices. 
- Ahmed Sidky, Executive VP, Santeon. 
Picture credit: Dilbert by Scott Adams 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Agile Mindset 
Picture credit: www.finding-marbles.com 
Confidential | Copyright © Agile Testing Alliance Global Gathering
System Behavior 
• It’s all about WHAT THE SYSTEM SHOULD DO? 
• Focus from a customer’s point of view rather than a 
developer’s point of view. 
Picture credit: ©Ted Goff 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Behavior Driven Development 
Business 
Domain Driven 
Design 
Technology 
Test Driven 
Development 
BDD 
Confidential | Copyright © Agile Testing Alliance Global Gathering
IT’S SALAD TIME! 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Meet Cucumber…. 
• Ruby based BDD Framework 
• The two blocks of Cucumber: 
– Feature File – contains 
scenarios described in plain 
text 
– Glue Code – Auto generated 
step definitions in Java 
Picture credit: http://www.guru99.com/introduction-to-cucumber.html/ 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Picture credit: https://cucumber.pro 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Behavior 
Description 
Scenarios Features User Stories 
Steps definition 
Execution of the 
steps (Results in 
Failure) 
Execution of the 
steps (Should result 
in Pass) 
Functionality 
Development 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Feature 
Feature: <short description> 
<story> 
<scenario 1> 
<scenario 2> 
. 
. 
. 
• A good feature document is 
– Complete 
– Specific 
– Testable 
Confidential | Copyright © Agile Testing Alliance Global Gathering 
As a <role> 
I want <feature> 
So that <business value> 
Scenario: <description> 
Given <preconditions, context> 
[And] <more preconditions> 
When <action, behavior> 
Then <post conditions> 
[And] <more post conditions>
Scenarios 
Picture credit: http://www.future-processing.pl/technical-blog/ 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Installation & Configuration 
• Eclipse IDE 
• Create Java Project 
• Create the Main and Test packages 
• Resource folder to hold the Feature files 
• Adding the essential JAR files 
• Junit test runner 
Confidential | Copyright © Agile Testing Alliance Global Gathering
TIME TO EAT! 
Confidential | Copyright © Agile Testing Alliance Global Gathering
BDD Implementation with Cucumber 
• Future Value of $$$! 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Cucumber & Selenium 
Confidential | Copyright © Agile Testing Alliance Global Gathering
In Conclusion 
• Cucumber is NOT a testing tool 
• Requirements itself become testcases!!! 
• API testing, Data driven testing & Mobile 
testing 
• Integrates with Selenium 
• Potential for an agile environment 
Confidential | Copyright © Agile Testing Alliance Global Gathering
Questions? 
THANK YOU! 
Confidential | Copyright © Agile Testing Alliance Global Gathering

Contenu connexe

Tendances

Tendances (11)

Automating Content Syncs using Content Migrator
Automating Content Syncs using Content MigratorAutomating Content Syncs using Content Migrator
Automating Content Syncs using Content Migrator
 
Essential git for developers
Essential git for developersEssential git for developers
Essential git for developers
 
Scaling Jenkins
Scaling Jenkins Scaling Jenkins
Scaling Jenkins
 
Swagger 2.0 and Model-driven APIs
Swagger 2.0 and Model-driven APIsSwagger 2.0 and Model-driven APIs
Swagger 2.0 and Model-driven APIs
 
Building Mobile Apps with Apache UserGrid, the Open Source Baas
Building Mobile Apps with Apache UserGrid, the Open Source BaasBuilding Mobile Apps with Apache UserGrid, the Open Source Baas
Building Mobile Apps with Apache UserGrid, the Open Source Baas
 
Aws user group #01 lets talk serverless
Aws user group #01   lets talk serverlessAws user group #01   lets talk serverless
Aws user group #01 lets talk serverless
 
How do you protect a hybrid PaaS-IaaS solution, built entirely in the cloud
How do you protect a hybrid PaaS-IaaS solution, built entirely in the cloudHow do you protect a hybrid PaaS-IaaS solution, built entirely in the cloud
How do you protect a hybrid PaaS-IaaS solution, built entirely in the cloud
 
Azure devspaces
Azure devspacesAzure devspaces
Azure devspaces
 
Cloud Study Jam ML API 3
Cloud Study Jam ML API 3Cloud Study Jam ML API 3
Cloud Study Jam ML API 3
 
Kudu voodoo slideshare
Kudu voodoo   slideshareKudu voodoo   slideshare
Kudu voodoo slideshare
 
Erica Cooksey Reactathon 2018
Erica Cooksey Reactathon 2018Erica Cooksey Reactathon 2018
Erica Cooksey Reactathon 2018
 

Similaire à Digesting Cucumber Salad By Praveen Shivashankar

Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
Cesario Ramos
 
SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016
w2fong
 
An Introduction to Agile - Prashant Pund, AgileSoft.
An Introduction to Agile - Prashant Pund, AgileSoft.An Introduction to Agile - Prashant Pund, AgileSoft.
An Introduction to Agile - Prashant Pund, AgileSoft.
Pune OpenCoffee Club
 
SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8
Rajwinder Singh
 

Similaire à Digesting Cucumber Salad By Praveen Shivashankar (20)

Continuous delivery @ iyzico
Continuous delivery @ iyzicoContinuous delivery @ iyzico
Continuous delivery @ iyzico
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
 
77402_VishalLaljeet
77402_VishalLaljeet77402_VishalLaljeet
77402_VishalLaljeet
 
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
Jumping from Continuous Integration to Continuous Delivery with Jenkins Enter...
 
Atagg2015 Continuous delivery by building environment using docker
Atagg2015 Continuous delivery by building environment using dockerAtagg2015 Continuous delivery by building environment using docker
Atagg2015 Continuous delivery by building environment using docker
 
SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016
 
Introducing Deployit 3.8
Introducing Deployit 3.8 Introducing Deployit 3.8
Introducing Deployit 3.8
 
An Introduction to Agile - Prashant Pund, AgileSoft.
An Introduction to Agile - Prashant Pund, AgileSoft.An Introduction to Agile - Prashant Pund, AgileSoft.
An Introduction to Agile - Prashant Pund, AgileSoft.
 
SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8
 
Flexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts ExplainedFlexing your Agile Muscle - Agile Technical Concepts Explained
Flexing your Agile Muscle - Agile Technical Concepts Explained
 
Kku2011
Kku2011Kku2011
Kku2011
 
Selenium practical
Selenium practicalSelenium practical
Selenium practical
 
2015 jcconf-h2s-devops-practice
2015 jcconf-h2s-devops-practice2015 jcconf-h2s-devops-practice
2015 jcconf-h2s-devops-practice
 
Agile Testing and Test Automation
Agile Testing and Test AutomationAgile Testing and Test Automation
Agile Testing and Test Automation
 
Container Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey BoxellContainer Native Development Tools - Talk by Mickey Boxell
Container Native Development Tools - Talk by Mickey Boxell
 
Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
 Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
 
Atagg2015 Benefits of BDD in Digital Era
Atagg2015 Benefits of BDD in Digital EraAtagg2015 Benefits of BDD in Digital Era
Atagg2015 Benefits of BDD in Digital Era
 
Automating Security in Cloud Workloads with DevSecOps
Automating Security in Cloud Workloads with DevSecOpsAutomating Security in Cloud Workloads with DevSecOps
Automating Security in Cloud Workloads with DevSecOps
 
Product owner
Product ownerProduct owner
Product owner
 
Product owner
Product ownerProduct owner
Product owner
 

Plus de Agile Testing Alliance

Plus de Agile Testing Alliance (20)

#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
#Interactive Session by Anindita Rath and Mahathee Dandibhotla, "From Good to...
 
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...#Interactive Session by  Ajay Balamurugadas, "Where Are The Real Testers In T...
#Interactive Session by Ajay Balamurugadas, "Where Are The Real Testers In T...
 
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...#Interactive Session by  Jishnu Nambiar and  Mayur Ovhal, "Monitoring Web Per...
#Interactive Session by Jishnu Nambiar and Mayur Ovhal, "Monitoring Web Per...
 
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
#Interactive Session by Pradipta Biswas and Sucheta Saurabh Chitale, "Navigat...
 
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
#Interactive Session by Apoorva Ram, "The Art of Storytelling for Testers" at...
 
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
#Interactive Session by Nikhil Jain, "Catch All Mail With Graph" at #ATAGTR2023.
 
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
#Interactive Session by Ashok Kumar S, "Test Data the key to robust test cove...
 
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
#Interactive Session by Seema Kohli, "Test Leadership in the Era of Artificia...
 
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
#Interactive Session by Ashwini Lalit, RRR of Test Automation Maintenance" at...
 
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
#Interactive Session by Srithanga Aishvarya T, "Machine Learning Model to aut...
 
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
#Interactive Session by Kirti Ranjan Satapathy and Nandini K, "Elements of Qu...
 
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
#Interactive Session by Sudhir Upadhyay and Ashish Kumar, "Strengthening Test...
 
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
#Interactive Session by Sayan Deb Kundu, "Testing Gen AI Applications" at #AT...
 
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
#Interactive Session by Dinesh Boravke, "Zero Defects – Myth or Reality" at #...
 
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...#Interactive Session by  Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
#Interactive Session by Saby Saurabh Bhardwaj, "Redefine Quality Assurance –...
 
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
#Keynote Session by Sanjay Kumar, "Innovation Inspired Testing!!" at #ATAGTR2...
 
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
#Keynote Session by Schalk Cronje, "Don’t Containerize me" at #ATAGTR2023.
 
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
#Interactive Session by Chidambaram Vetrivel and Venkatesh Belde, "Revolution...
 
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...#Interactive Session by Aniket Diwakar Kadukar and  Padimiti Vaidik Eswar Dat...
#Interactive Session by Aniket Diwakar Kadukar and Padimiti Vaidik Eswar Dat...
 
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
#Interactive Session by Vivek Patle and Jahnavi Umarji, "Empowering Functiona...
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Digesting Cucumber Salad By Praveen Shivashankar

  • 1. DIGESTING CUCUMBER SALAD PREVIEW THE USE OF CUCUMBER IN AGILE PROCESS Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 2. Agenda • The Agile Attitude • Understanding System Behavior • Introduction to Cucumber • Install and Configure Cucumber • Implement BDD using Cucumber • Cucumber & Selenium • Conclusion Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 3. WHY CUCUMBER?!!! Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 4. Agile Attitude • Agile is a mindset defined by values, guided by principles and manifested through many different practices. - Ahmed Sidky, Executive VP, Santeon. Picture credit: Dilbert by Scott Adams Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 5. Agile Mindset Picture credit: www.finding-marbles.com Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 6. System Behavior • It’s all about WHAT THE SYSTEM SHOULD DO? • Focus from a customer’s point of view rather than a developer’s point of view. Picture credit: ©Ted Goff Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 7. Behavior Driven Development Business Domain Driven Design Technology Test Driven Development BDD Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 8. IT’S SALAD TIME! Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 9. Meet Cucumber…. • Ruby based BDD Framework • The two blocks of Cucumber: – Feature File – contains scenarios described in plain text – Glue Code – Auto generated step definitions in Java Picture credit: http://www.guru99.com/introduction-to-cucumber.html/ Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 10. Picture credit: https://cucumber.pro Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 11. Behavior Description Scenarios Features User Stories Steps definition Execution of the steps (Results in Failure) Execution of the steps (Should result in Pass) Functionality Development Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 12. Feature Feature: <short description> <story> <scenario 1> <scenario 2> . . . • A good feature document is – Complete – Specific – Testable Confidential | Copyright © Agile Testing Alliance Global Gathering As a <role> I want <feature> So that <business value> Scenario: <description> Given <preconditions, context> [And] <more preconditions> When <action, behavior> Then <post conditions> [And] <more post conditions>
  • 13. Scenarios Picture credit: http://www.future-processing.pl/technical-blog/ Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 14. Installation & Configuration • Eclipse IDE • Create Java Project • Create the Main and Test packages • Resource folder to hold the Feature files • Adding the essential JAR files • Junit test runner Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 15. TIME TO EAT! Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 16. BDD Implementation with Cucumber • Future Value of $$$! Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 17. Cucumber & Selenium Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 18. In Conclusion • Cucumber is NOT a testing tool • Requirements itself become testcases!!! • API testing, Data driven testing & Mobile testing • Integrates with Selenium • Potential for an agile environment Confidential | Copyright © Agile Testing Alliance Global Gathering
  • 19. Questions? THANK YOU! Confidential | Copyright © Agile Testing Alliance Global Gathering