SlideShare une entreprise Scribd logo
1  sur  42
Inverting Test Pyramid 
Experience Report 
Sachin Natu @natusachin 
Naresh Jain @nashjain
25YEARS 6000+CLIENTS Nr 1M ROOMS 94COUNTRIES 95%+ 
ago we started 
later we’re still finding 
around the world are 
helping clients 
the revenue opportunity 
priced every single day 
manage their 
in every situation 
using IDeaS 
revenue 
on 6 continents have 
hotels that now run on 
IDeaS Revenue 
Management 
Systems 
More than 95 
percent of all 
our clients are 
still working 
with us today. 
About IDeaS
Our Worldwide Clients : 
Hospitality + Travel + Distribution
Agenda 
● Where were 
we? 
● Problem 
● How we tried to 
solve? 
● How we 
optimized?
Status of regression time 
Page
No Automation !
Problems 
● Thousands of 
regression tests 
● Cross cutting defects 
found were more. 
● Repeat Exeuction
Moving to shorter release cycle - a dream?
Regression period is incompressible
Manual and repetitive tasks are error prone.
Issue leakages 
Page 
Releases
Let’s automate regression 
Page
UI Test 
Page
After Automation Introduced
Production feedback 
Page
Duration… 
2 
Yrs 
Team of 2 full time Automation Testers
State of the Product 
Manual 
Checking 45% 
End- to End UI 
Tests 40% 
Integration Tests 
10% 
Unit Tests 
5%
Are we happy now? 
Page
Always Catching Up
No pinpointed feedback
Silos
Tests are slow
Costly to maintain
Is there way out? 
Page
Analysis of Bugs Report
Why test from far
The Test Pyramid 
Typical test strategies lead to an inverted testing 
pyramid 
Manual 
Checking 
End- to End Selenium 
Tests 70% 
Integration Tests 
20% 
Unit Tests 
UI 
1 
% 
End to 
End Flow 
Tests 4% 
Workflow API 
Tests 6% 
Integration Tests 9% 
Domain Logic Acceptance 
Tests 10% 
10% Unit Tests 70% 
This is the need of the hour…. Courtesy: Naresh Jain @AgileFAQs.com
Our transition story… 
• We decided to "Test things right , at 
right place on right time" which would 
result in "right test pyramid“ 
UI 
1 
% 
End to 
End Flow 
Tests 4% 
Workflow API 
Tests 6% 
Integration Tests 9% 
Domain Logic Acceptance 
Tests 10% 
Unit Tests 70%
Business logic test
Current Status
Benefits
Automation is part of development 
• TDD 
• BDD 
• UI Tests only worry for UI
Improved collaboration 
Developer QA
Grouping Tests - ROI 
80 Scenarios - 300 + Min!
Grouping Tests - ROI - Pyramid 
UI Tests - 4 Min 
End to End - 4 Min 
80 Scenarios < Min!
Regression timelines 
Months 
Page
Feels like Agile now... 
Page
Challenges 
• Legacy code - “Unit test 
unfriendly” 
• Mapping acceptance tests 
with various slices of 
pyramid 
• Building team 
competencies 
• Pairing/ collaboration is 
backbone
Key Learnings 
• Do not overdo UI 
regression automation 
• Keep it 
simple/pinpointed 
• Design for Testability 
UI 
1 
% 
End to 
End Flow 
Tests 4% 
Workflow API 
Tests 6% 
Integration Tests 9% 
Domain Logic Acceptance 
Tests 10% 
Unit Tests 70%
Naresh Jain @nashjain 
Sachin Natu @natusachin 
Page
Some Statistics...

Contenu connexe

Tendances

Agile tour ncr test360_degree - agile testing on steroids
Agile tour ncr test360_degree - agile testing on steroidsAgile tour ncr test360_degree - agile testing on steroids
Agile tour ncr test360_degree - agile testing on steroids
Vipul Gupta
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
Naresh Jain
 

Tendances (20)

Agile test tools
Agile test toolsAgile test tools
Agile test tools
 
Optimizing Your Agile Testing Processes
Optimizing Your Agile Testing ProcessesOptimizing Your Agile Testing Processes
Optimizing Your Agile Testing Processes
 
Automation testing in Agile project
Automation testing in Agile projectAutomation testing in Agile project
Automation testing in Agile project
 
Agile tour ncr test360_degree - agile testing on steroids
Agile tour ncr test360_degree - agile testing on steroidsAgile tour ncr test360_degree - agile testing on steroids
Agile tour ncr test360_degree - agile testing on steroids
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
Testing in Agile Projects
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
 
What is Agile Testing?
What is Agile Testing?What is Agile Testing?
What is Agile Testing?
 
What is Agile Testing?
What is Agile Testing?What is Agile Testing?
What is Agile Testing?
 
What is Agile Testing?
What is Agile Testing? What is Agile Testing?
What is Agile Testing?
 
Agile Testing - presentation for Agile User Group
Agile Testing - presentation for Agile User GroupAgile Testing - presentation for Agile User Group
Agile Testing - presentation for Agile User Group
 
Exploratory testing in an agile development organization (it quality & test ...
Exploratory testing in an agile development organization  (it quality & test ...Exploratory testing in an agile development organization  (it quality & test ...
Exploratory testing in an agile development organization (it quality & test ...
 
Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?Test Automation Strategies and Frameworks: What Should Your Team Do?
Test Automation Strategies and Frameworks: What Should Your Team Do?
 
Agile testing presentation
Agile testing presentationAgile testing presentation
Agile testing presentation
 
Agile Introduction
Agile IntroductionAgile Introduction
Agile Introduction
 
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
 
Guide to Agile testing
Guide to Agile testingGuide to Agile testing
Guide to Agile testing
 
Use Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual TestingUse Automation to Assist—Not Replace—Manual Testing
Use Automation to Assist—Not Replace—Manual Testing
 
Karate API Testing-Complete Guidance by Testrig
Karate API Testing-Complete Guidance by TestrigKarate API Testing-Complete Guidance by Testrig
Karate API Testing-Complete Guidance by Testrig
 
Presentation on Agile Testing
Presentation on Agile TestingPresentation on Agile Testing
Presentation on Agile Testing
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
 

En vedette

Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
SivaprasanthRentala1975
 

En vedette (17)

Anand Bagmar - Behavior Driven Testing (BDT) in Agile
Anand Bagmar - Behavior Driven Testing (BDT) in AgileAnand Bagmar - Behavior Driven Testing (BDT) in Agile
Anand Bagmar - Behavior Driven Testing (BDT) in Agile
 
Advanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on AutomationAdvanced Topics in Agile Tsting: Focus on Automation
Advanced Topics in Agile Tsting: Focus on Automation
 
Agile to the top 2016 (EN)
Agile to the top 2016 (EN)Agile to the top 2016 (EN)
Agile to the top 2016 (EN)
 
Agile Testing Practices
Agile Testing PracticesAgile Testing Practices
Agile Testing Practices
 
Atagg2015 BDD in Test pyramid
Atagg2015  BDD in Test pyramidAtagg2015  BDD in Test pyramid
Atagg2015 BDD in Test pyramid
 
Behavior Driven Development (BDD)
Behavior Driven Development (BDD)Behavior Driven Development (BDD)
Behavior Driven Development (BDD)
 
Outside In - Behaviour Driven Development (BDD)
Outside In - Behaviour Driven Development (BDD)Outside In - Behaviour Driven Development (BDD)
Outside In - Behaviour Driven Development (BDD)
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Automated Testing vs Manual Testing
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
 
10 Benefits of Automated Testing
10 Benefits of Automated Testing10 Benefits of Automated Testing
10 Benefits of Automated Testing
 
Agile Testing
Agile TestingAgile Testing
Agile Testing
 
Behavior Driven Development
Behavior Driven DevelopmentBehavior Driven Development
Behavior Driven Development
 
Agile Testing by Example
Agile Testing by ExampleAgile Testing by Example
Agile Testing by Example
 
Test Automation - Principles and Practices
Test Automation - Principles and PracticesTest Automation - Principles and Practices
Test Automation - Principles and Practices
 
Effective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile EnvironmentEffective Testing Practices in an Agile Environment
Effective Testing Practices in an Agile Environment
 
Agile Testing Best Practices
Agile Testing Best PracticesAgile Testing Best Practices
Agile Testing Best Practices
 
Automation testing strategy, approach & planning
Automation testing  strategy, approach & planningAutomation testing  strategy, approach & planning
Automation testing strategy, approach & planning
 

Similaire à Test pyramid agile pune conference

StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_FinalStarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
Dawn Jardine
 
Base your initial m&a to ppm, qpm, car
Base your initial m&a to ppm, qpm, carBase your initial m&a to ppm, qpm, car
Base your initial m&a to ppm, qpm, car
Kobi Vider
 
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco ITDOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
Gene Kim
 

Similaire à Test pyramid agile pune conference (20)

Death of Inspection : Reincarnation of Testing Community
Death of Inspection : Reincarnation of Testing Community Death of Inspection : Reincarnation of Testing Community
Death of Inspection : Reincarnation of Testing Community
 
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_FinalStarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
StarWest2016_T24_ExploratoryAutomation_DawnJardine_Final
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practices
 
Challenges in test automation for web apps
Challenges in test automation for web appsChallenges in test automation for web apps
Challenges in test automation for web apps
 
Євген Лабунський: Agile in Enterprise. How do we do it
Євген Лабунський: Agile in Enterprise. How do we do itЄвген Лабунський: Agile in Enterprise. How do we do it
Євген Лабунський: Agile in Enterprise. How do we do it
 
Automation Pyramid - Make it right!
Automation Pyramid - Make it right!Automation Pyramid - Make it right!
Automation Pyramid - Make it right!
 
DeviQA
DeviQADeviQA
DeviQA
 
Agile testing
Agile testingAgile testing
Agile testing
 
Qualitia - Scriptless Test Automation Platform
Qualitia - Scriptless Test Automation PlatformQualitia - Scriptless Test Automation Platform
Qualitia - Scriptless Test Automation Platform
 
QA Role In Agile Teams - by Michael Hall
QA Role In Agile Teams - by Michael HallQA Role In Agile Teams - by Michael Hall
QA Role In Agile Teams - by Michael Hall
 
Sap Application Assurance Service Offerings
Sap Application Assurance Service OfferingsSap Application Assurance Service Offerings
Sap Application Assurance Service Offerings
 
Insurance for your Assurance Team
Insurance for your Assurance TeamInsurance for your Assurance Team
Insurance for your Assurance Team
 
Base your initial m&a to ppm, qpm, car
Base your initial m&a to ppm, qpm, carBase your initial m&a to ppm, qpm, car
Base your initial m&a to ppm, qpm, car
 
REX Meetic, Comment la qualité reflète-t-elle nos organisations ?
REX Meetic, Comment la qualité reflète-t-elle nos organisations ?REX Meetic, Comment la qualité reflète-t-elle nos organisations ?
REX Meetic, Comment la qualité reflète-t-elle nos organisations ?
 
Modern software testing and processes 2019
Modern software testing and processes 2019Modern software testing and processes 2019
Modern software testing and processes 2019
 
Cars.com – revolutionizing continuous integration with selenium rd
Cars.com – revolutionizing continuous integration with selenium  rdCars.com – revolutionizing continuous integration with selenium  rd
Cars.com – revolutionizing continuous integration with selenium rd
 
New trends in Agile Test Management
New trends in Agile Test ManagementNew trends in Agile Test Management
New trends in Agile Test Management
 
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco ITDOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
DOES15 - Ramona Jackson and Aji Rajappan - Continuous Delivery at Cisco IT
 
QA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari KakkonenQA in Digitalized World - Kari Kakkonen
QA in Digitalized World - Kari Kakkonen
 
"DevOps > CI+CD "
"DevOps > CI+CD ""DevOps > CI+CD "
"DevOps > CI+CD "
 

Dernier

Dernier (20)

GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Test pyramid agile pune conference