SlideShare une entreprise Scribd logo
1  sur  32
Agile, ATDD & CI/CD/CT
Pradeep Macharla
pradeep@seleniumframework.com
Agenda
▪ Background and Context
▪ Agile
▪ ATDD – AcceptanceTest Driven Development
▪ Continuous Delivery
Background
While most organizations realize that improving IT
performance is critical to long-term success, until now, it has
been unclear which investments truly move the needle. Our
findings suggest that high IT performance provides a real
competitive advantage, with hints that it plays a role in
boosting the value of publicly traded companies, as
measured by market capitalization
Puppet labs Survey(9200 people from 110 countries)
Puppet labs Survey(Diverse sample sets from population mix)
Data proves it
IT Performance
IT performance has real impact on the
business: Companies with high IT
performance are twice as likely to exceed
their profitability, market share and
productivity goals.
Practices Correlated with IT Performance
The original XP recipe is based on four simple values – simplicity, communication, feedback, and courage –
and twelve supporting practices:
Planning Game
Small Releases
Customer AcceptanceTests
Simple Design
Pair Programming
AcceptanceTest-Driven Development
Refactoring
Continuous Integration
Collective Code Ownership
Coding Standards
Metaphor
Sustainable Pace
Agile Types – Extreme Programming
• Industry practice in which whole team collaborates on Acceptance criteria and the
definition of done
• Automate acceptance tests while production code is being developed
• Automation completes before/side by side development
• Developer focuses on making acceptance tests pass
• Tests become part of build pipeline and are run throughout the sprint
• The acceptance automated tests will represent the true business value
ATDD is…
Run
Test
CodeWrite Test
Run
Test
Refactor
Gherkin
User Stories
PO Dev
TesterBSA
CucumberTests
version controlled
RunTests
Develop code
Version controlled
Collaborate
And Discuss
User Stories
0
1
2
3
4
ATDD - Process
Why ATDD
Unable to define what they want
don't know what they really want "now"
Misunderstood the requirements
wrong, incomplete or ambiguous
Misinterpret requirements
focus on implementation not behavior
That is not what
I want
Misinterpret
requirements
Incomplete tests
Before ATDD
Cost of Defects rise exponentially in later phases
64%
36%
Defect source
Requirement Analysis and Design
Phase
Coding/Implementation Phase
Issue # 1 - Requirement Ambiguity
1
7
After ATDD - Collaboration, Discuss And Communication
Then, 3 Amigos write AC in BDD (Gherkin) format
Product Owner and
Business Analyst
Software Engineer
Quality Engineer
What you
think you
need
All you
actually
need
Issue # 2 - Over Engineering
What would give you
some value, right now
What you
think you
need
You
actually
need
20
Rework
Developers Testers
Deliberate Discovery skills
Issue # 3 Late Detection Of Defects
With ATDD
Less Rework
Developers Testers
Deliberate Discovery skills
Testers
22
ATDD is NOT a silver bullet
ATDD is suitable for programs or projects that are:
 Going through significant fast paced changes or complete re-writes
 Has relatively mature agile teams willing and able to adapt and learn as things change
 A strong product owner who is available to clarify requirements to tester and developer
 Availability of stable environment support
 Has CI/CD capabilities
Test Automation Expectations:
 Automation is coding - Requires good coding practices such as refactoring
 Not everything can or SHOULD be automated - Don’t automate if you won’t reuse
Challenges:
 Poor adoption
 Business users not collaborating
 Overstating expectations - scaling too fast
 Bandwidth/Velocity
 Learning Curve/Experience
 Infrastructure/Environment Availability
ATDD/BDD Tools..
Ruby – Cucumber
Python – Behave
All JVM languages – cucumber-jvm
Javascript – cucumberjs
.NET – SpecFlow
PHP – Behat
**Not an exhaustive list
CI/CD/CT
Continuous Integration is a software development
practice where members of a team integrate their
work frequently, usually each person integrates at
least daily - leading to multiple integrations per day.
Each integration is verified by an automated build
(including test) to detect integration errors as quickly
as possible.
CI/CD/CT
CI/CD/CT
CI/CD/CT Tools..
Jenkins, Travis, Cruise Control, Team City, Hudson,..
Nexus, Artifactory…
SonarQube…
Chef, Puppet, Ansible…
Docker, Kubernetes…
Selenium, Appium…
Never ends…
CI is NOT feasible without Automation
Thank you!
Email: pradeep@seleniumframework.com
Github: https://www.github.com/machzqcq
ContinuousTest Automation: www.seleniumframework.com

Contenu connexe

Tendances

Hr business analyst kpi
Hr business analyst kpiHr business analyst kpi
Hr business analyst kpi
zawemiter
 
Agile adoption julen c. mohanty
Agile adoption   julen c. mohantyAgile adoption   julen c. mohanty
Agile adoption julen c. mohanty
Julen Mohanty
 
Simaran Singh_Resume
Simaran Singh_ResumeSimaran Singh_Resume
Simaran Singh_Resume
Simaran singh
 
Requirement management presentation to a software team
Requirement management presentation to a software teamRequirement management presentation to a software team
Requirement management presentation to a software team
rchakra
 

Tendances (20)

Saianand Natarajan Cv
Saianand Natarajan CvSaianand Natarajan Cv
Saianand Natarajan Cv
 
ECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | TechcanvassECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
ECBA Exam Questions PDF | ECBA Sample Questions PDF | Techcanvass
 
Hr business analyst kpi
Hr business analyst kpiHr business analyst kpi
Hr business analyst kpi
 
Agile adoption julen c. mohanty
Agile adoption   julen c. mohantyAgile adoption   julen c. mohanty
Agile adoption julen c. mohanty
 
Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1
 
Simaran Singh_Resume
Simaran Singh_ResumeSimaran Singh_Resume
Simaran Singh_Resume
 
Business requirements gathering and analysis
Business requirements gathering and analysisBusiness requirements gathering and analysis
Business requirements gathering and analysis
 
Prod
ProdProd
Prod
 
Product Development
Product DevelopmentProduct Development
Product Development
 
Requirements Management Best practice
Requirements Management Best practiceRequirements Management Best practice
Requirements Management Best practice
 
The Business Analyst And The Sdlc
The Business Analyst And The SdlcThe Business Analyst And The Sdlc
The Business Analyst And The Sdlc
 
Requirement management presentation to a software team
Requirement management presentation to a software teamRequirement management presentation to a software team
Requirement management presentation to a software team
 
Offshore development center (odc) setup up by faichi solutions - Case Study
Offshore development center (odc) setup up by faichi solutions - Case StudyOffshore development center (odc) setup up by faichi solutions - Case Study
Offshore development center (odc) setup up by faichi solutions - Case Study
 
Odc setup
Odc setupOdc setup
Odc setup
 
Prateek chauhan cv senior business analyst_csc
Prateek chauhan cv senior business analyst_cscPrateek chauhan cv senior business analyst_csc
Prateek chauhan cv senior business analyst_csc
 
Ba -content
Ba -contentBa -content
Ba -content
 
Case study - Application Re architecture (ODC)
Case study - Application Re architecture (ODC)Case study - Application Re architecture (ODC)
Case study - Application Re architecture (ODC)
 
Spot the Best Opportunities with an Affinity Score-card
Spot the Best Opportunities with an Affinity Score-cardSpot the Best Opportunities with an Affinity Score-card
Spot the Best Opportunities with an Affinity Score-card
 
DCBADD2015 our req are good
DCBADD2015 our req are goodDCBADD2015 our req are good
DCBADD2015 our req are good
 
Repeatable Success
Repeatable SuccessRepeatable Success
Repeatable Success
 

Similaire à Pyptug atdd agile_ci_uploaded

Acceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDDAcceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDD
Laurent PY
 

Similaire à Pyptug atdd agile_ci_uploaded (20)

Trends in software testing by Eka TechServ
Trends in software testing  by Eka TechServTrends in software testing  by Eka TechServ
Trends in software testing by Eka TechServ
 
Making the Move to Behavior Driven Development
Making the Move to Behavior Driven DevelopmentMaking the Move to Behavior Driven Development
Making the Move to Behavior Driven Development
 
Quality Jam: BDD, TDD and ATDD for the Enterprise
Quality Jam: BDD, TDD and ATDD for the EnterpriseQuality Jam: BDD, TDD and ATDD for the Enterprise
Quality Jam: BDD, TDD and ATDD for the Enterprise
 
Accelerating Application Development and Rollout for Business
Accelerating Application Development and Rollout for BusinessAccelerating Application Development and Rollout for Business
Accelerating Application Development and Rollout for Business
 
Acceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDDAcceptance Testing Driven Development, TDD
Acceptance Testing Driven Development, TDD
 
Plm rev5 innovation 2012
Plm rev5 innovation 2012Plm rev5 innovation 2012
Plm rev5 innovation 2012
 
CCDE Practical Exam Overview
CCDE Practical Exam OverviewCCDE Practical Exam Overview
CCDE Practical Exam Overview
 
ANIn Hyderabad Nov2023|Generative AI for software engineering - Lakshman Peet...
ANIn Hyderabad Nov2023|Generative AI for software engineering - Lakshman Peet...ANIn Hyderabad Nov2023|Generative AI for software engineering - Lakshman Peet...
ANIn Hyderabad Nov2023|Generative AI for software engineering - Lakshman Peet...
 
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
 
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers & Testing in ChatGPT-AI world.pptx
 
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptxDesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
DesiradhaRam Gadde - Testers _ Testing in ChatGPT-AI world.pptx
 
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
Behavior Driven Development—A Guide to Agile Practices by Josh EastmanBehavior Driven Development—A Guide to Agile Practices by Josh Eastman
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
 
Quality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps cultureQuality for DevOps teams - Quality engineering in the DevOps culture
Quality for DevOps teams - Quality engineering in the DevOps culture
 
Get Smart About Technical Debt
Get Smart About Technical DebtGet Smart About Technical Debt
Get Smart About Technical Debt
 
Apm andre santos
Apm andre santosApm andre santos
Apm andre santos
 
AI Orange Belt - Session 3
AI Orange Belt - Session 3AI Orange Belt - Session 3
AI Orange Belt - Session 3
 
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018Mastering BDD - Eran Kinsbruner Workshop Quest 2018
Mastering BDD - Eran Kinsbruner Workshop Quest 2018
 
Lean dqm reporting
Lean dqm reportingLean dqm reporting
Lean dqm reporting
 
Technical Debt.pptx
Technical Debt.pptxTechnical Debt.pptx
Technical Debt.pptx
 
Why we should consider Open Hybrid Cloud.pdf
Why we should  consider Open Hybrid Cloud.pdfWhy we should  consider Open Hybrid Cloud.pdf
Why we should consider Open Hybrid Cloud.pdf
 

Dernier

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
SoniaTolstoy
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 

Dernier (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Pyptug atdd agile_ci_uploaded

  • 1. Agile, ATDD & CI/CD/CT Pradeep Macharla pradeep@seleniumframework.com
  • 2. Agenda ▪ Background and Context ▪ Agile ▪ ATDD – AcceptanceTest Driven Development ▪ Continuous Delivery
  • 3. Background While most organizations realize that improving IT performance is critical to long-term success, until now, it has been unclear which investments truly move the needle. Our findings suggest that high IT performance provides a real competitive advantage, with hints that it plays a role in boosting the value of publicly traded companies, as measured by market capitalization
  • 4. Puppet labs Survey(9200 people from 110 countries)
  • 5. Puppet labs Survey(Diverse sample sets from population mix)
  • 7. IT Performance IT performance has real impact on the business: Companies with high IT performance are twice as likely to exceed their profitability, market share and productivity goals.
  • 8. Practices Correlated with IT Performance
  • 9.
  • 10. The original XP recipe is based on four simple values – simplicity, communication, feedback, and courage – and twelve supporting practices: Planning Game Small Releases Customer AcceptanceTests Simple Design Pair Programming AcceptanceTest-Driven Development Refactoring Continuous Integration Collective Code Ownership Coding Standards Metaphor Sustainable Pace Agile Types – Extreme Programming
  • 11. • Industry practice in which whole team collaborates on Acceptance criteria and the definition of done • Automate acceptance tests while production code is being developed • Automation completes before/side by side development • Developer focuses on making acceptance tests pass • Tests become part of build pipeline and are run throughout the sprint • The acceptance automated tests will represent the true business value ATDD is… Run Test CodeWrite Test Run Test Refactor
  • 12. Gherkin User Stories PO Dev TesterBSA CucumberTests version controlled RunTests Develop code Version controlled Collaborate And Discuss User Stories 0 1 2 3 4 ATDD - Process
  • 14. Unable to define what they want don't know what they really want "now" Misunderstood the requirements wrong, incomplete or ambiguous Misinterpret requirements focus on implementation not behavior That is not what I want Misinterpret requirements Incomplete tests Before ATDD
  • 15. Cost of Defects rise exponentially in later phases 64% 36% Defect source Requirement Analysis and Design Phase Coding/Implementation Phase
  • 16. Issue # 1 - Requirement Ambiguity
  • 17. 1 7 After ATDD - Collaboration, Discuss And Communication
  • 18. Then, 3 Amigos write AC in BDD (Gherkin) format Product Owner and Business Analyst Software Engineer Quality Engineer
  • 19. What you think you need All you actually need Issue # 2 - Over Engineering
  • 20. What would give you some value, right now What you think you need You actually need 20
  • 21. Rework Developers Testers Deliberate Discovery skills Issue # 3 Late Detection Of Defects
  • 22. With ATDD Less Rework Developers Testers Deliberate Discovery skills Testers 22
  • 23.
  • 24.
  • 25.
  • 26. ATDD is NOT a silver bullet ATDD is suitable for programs or projects that are:  Going through significant fast paced changes or complete re-writes  Has relatively mature agile teams willing and able to adapt and learn as things change  A strong product owner who is available to clarify requirements to tester and developer  Availability of stable environment support  Has CI/CD capabilities Test Automation Expectations:  Automation is coding - Requires good coding practices such as refactoring  Not everything can or SHOULD be automated - Don’t automate if you won’t reuse Challenges:  Poor adoption  Business users not collaborating  Overstating expectations - scaling too fast  Bandwidth/Velocity  Learning Curve/Experience  Infrastructure/Environment Availability
  • 27. ATDD/BDD Tools.. Ruby – Cucumber Python – Behave All JVM languages – cucumber-jvm Javascript – cucumberjs .NET – SpecFlow PHP – Behat **Not an exhaustive list
  • 28. CI/CD/CT Continuous Integration is a software development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible.
  • 31. CI/CD/CT Tools.. Jenkins, Travis, Cruise Control, Team City, Hudson,.. Nexus, Artifactory… SonarQube… Chef, Puppet, Ansible… Docker, Kubernetes… Selenium, Appium… Never ends… CI is NOT feasible without Automation
  • 32. Thank you! Email: pradeep@seleniumframework.com Github: https://www.github.com/machzqcq ContinuousTest Automation: www.seleniumframework.com