SlideShare a Scribd company logo
1 of 18
TESTING
TEST PYRAMID
More unit tests, less high level end-to-end tests running through a GUI
Layers:
UI
Service
Unit
SOFTWARE TESTING ICE CREAM CONE
Reverse of Testing Pyramid
Manual Testing
UI
Service
Unit
TESTING ICE CREAM CONE DISADVANTAGES
- Slow - usually not headless
- Brittle - simple changes could easily break UI tests
- Developers have less ownership of quality
TEST SOURCES
- Business Tests
- QA Tests
- Developer Tests
BUSINESS TESTS
- Behavior-Driven Development is relevant
- acceptance criteria describe what the application is supposed to do, and how
it does so, in high-level business terms
- acceptance criteria become high-level executable specifications
- living documentation
- speed up the feedback cycle and reduce risk
QA TESTS
- help discover and clarify the acceptance criteria
- identify other scenarios beyond the acceptance criteria
- ensure business rules are respected
- ensure support for required number of users or transactions
- demonstrate that application is fit for purpose
DEVELOPER TESTS
- Test-Driven Development related
- build confidence in the code base
- illustrate how components are intended to work, making it easier to
understand
- safer to make changes without introducing new bugs
TEST ROLES
- Tests that Discover
- Tests that Describe
- Tests that Demonstrate
DISCOVER
- Story Mapping
- Impact Mapping
- Example Mapping
DESCRIBE
- explain business rules or features, in high-level terms
- Illustrate how the system works
- BDD
- executable specifications
- Example Tools: Cucumber, SpecFlow, Spock
DEMONSTRATE
- demonstrate that the feature works in more detail
- check boundary conditions, edge cases or error handling
AUTOMATED TESTING QUADRANT
ROLES AND NATURE
- Quadrant 1 - high level business outcomes
- Quadrant 2 - still business-focused but more detailed and comprehensive
- Quadrant 3 - written by and for developers, for easier & cheaper maintenance
- Quadrant 4 - technical equivalent of Quadrant 2 tests
JUST ENOUGH AUTOMATED TESTS
TOO FEW
- reduce confidence
- more manual testing
- slower deployment cycles
TOO MANY
- take a lot of time to write
- increase maintenance costs
BE PRAGMATIC
- Write the simplest and fastest test that you can get away with
- Illustrate the point you are trying to demonstrate
- Make it easy to identify the cause of the problem
WELL BALANCED TEST PORTFOLIO
- Don’t use a web test where a service or unit test could do the same job
- Just the right amount of tests at the right levels to have confidence
REFERENCES
Test Pyramid Heresy - https://dzone.com/articles/a-test-pyramid-heresy
Test Pyramid - https://martinfowler.com/bliki/TestPyramid.html
Google Testing Blog - https://testing.googleblog.com/2015/04/just-say-no-to-
more-end-to-end-tests.html

More Related Content

What's hot

Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
Future Simmons
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
Kumar Gupta
 

What's hot (20)

Performance Test Slideshow Recent
Performance Test Slideshow RecentPerformance Test Slideshow Recent
Performance Test Slideshow Recent
 
An Introduction to Performance Testing
An Introduction to Performance TestingAn Introduction to Performance Testing
An Introduction to Performance Testing
 
Types of performance testing
Types of performance testingTypes of performance testing
Types of performance testing
 
Automated Testing for Dynamics CRM 4 - CRMUG 2014
Automated Testing for Dynamics CRM 4 - CRMUG 2014Automated Testing for Dynamics CRM 4 - CRMUG 2014
Automated Testing for Dynamics CRM 4 - CRMUG 2014
 
A Story of Continuous Integration
A Story of Continuous IntegrationA Story of Continuous Integration
A Story of Continuous Integration
 
Automated Testing for Dynamics CRM 2 - CRMUG 2014
Automated Testing for Dynamics CRM 2 - CRMUG 2014Automated Testing for Dynamics CRM 2 - CRMUG 2014
Automated Testing for Dynamics CRM 2 - CRMUG 2014
 
Automated Testing for Dynamics CRM 3 - CRMUG 2014
Automated Testing for Dynamics CRM 3 - CRMUG 2014Automated Testing for Dynamics CRM 3 - CRMUG 2014
Automated Testing for Dynamics CRM 3 - CRMUG 2014
 
Case study-regression-testinga
Case study-regression-testingaCase study-regression-testinga
Case study-regression-testinga
 
Webinar Xebia & bol.com
Webinar Xebia & bol.comWebinar Xebia & bol.com
Webinar Xebia & bol.com
 
ITIL for Agile
ITIL for AgileITIL for Agile
ITIL for Agile
 
Performance Engineering
Performance EngineeringPerformance Engineering
Performance Engineering
 
Continuous Integration In The Cloud Final (1)
Continuous Integration In The Cloud Final (1)Continuous Integration In The Cloud Final (1)
Continuous Integration In The Cloud Final (1)
 
Writing Test Cases From User Stories And Acceptance Criteria
Writing Test Cases From User Stories And Acceptance CriteriaWriting Test Cases From User Stories And Acceptance Criteria
Writing Test Cases From User Stories And Acceptance Criteria
 
Where quality begins and Test strategy as a template
Where quality begins and Test strategy as a templateWhere quality begins and Test strategy as a template
Where quality begins and Test strategy as a template
 
Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012
Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012
Silverlight & Microsoft CRM Development - extremeCRM Berlin 2012
 
Introduction to Performance Testing
Introduction to Performance TestingIntroduction to Performance Testing
Introduction to Performance Testing
 
Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)Test Automation Best Practices (with SOA test approach)
Test Automation Best Practices (with SOA test approach)
 
Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014Automated Testing for Dynamics CRM 1 - CRMUG 2014
Automated Testing for Dynamics CRM 1 - CRMUG 2014
 
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
Reaching for Your Quality Stretch Goals: Testing at Realtor.comReaching for Your Quality Stretch Goals: Testing at Realtor.com
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
 
Functional testing
Functional testingFunctional testing
Functional testing
 

Similar to Testing

Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testing
jonathan077070
 

Similar to Testing (20)

Acceptance Test Driven Development
Acceptance Test Driven DevelopmentAcceptance Test Driven Development
Acceptance Test Driven Development
 
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphonyRelieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
Relieving the Testing Bottle Neck in Your Projects | cPrime + QASymphony
 
Relieveing the Testing Bottle Neck - Webinar
Relieveing the Testing Bottle Neck - WebinarRelieveing the Testing Bottle Neck - Webinar
Relieveing the Testing Bottle Neck - Webinar
 
Similar Group - Development Team Management Principals
Similar Group - Development Team Management PrincipalsSimilar Group - Development Team Management Principals
Similar Group - Development Team Management Principals
 
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
 
Testing Process
Testing ProcessTesting Process
Testing Process
 
Sw Software QA Testing
Sw Software QA TestingSw Software QA Testing
Sw Software QA Testing
 
SF1 - Apex Development Best Practises
SF1 - Apex Development Best PractisesSF1 - Apex Development Best Practises
SF1 - Apex Development Best Practises
 
Matt tesauro Lessons from DevOps: Taking DevOps practices into your AppSec Li...
Matt tesauro Lessons from DevOps: Taking DevOps practices into your AppSec Li...Matt tesauro Lessons from DevOps: Taking DevOps practices into your AppSec Li...
Matt tesauro Lessons from DevOps: Taking DevOps practices into your AppSec Li...
 
CONFidence 2015: Lessons from DevOps: Taking DevOps practices into your AppSe...
CONFidence 2015: Lessons from DevOps: Taking DevOps practices into your AppSe...CONFidence 2015: Lessons from DevOps: Taking DevOps practices into your AppSe...
CONFidence 2015: Lessons from DevOps: Taking DevOps practices into your AppSe...
 
Incorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development ProcessIncorporating Performance Testing in Agile Development Process
Incorporating Performance Testing in Agile Development Process
 
Load Testing SAP Applications with IBM Rational Performance Tester
Load Testing SAP Applications with IBM Rational Performance TesterLoad Testing SAP Applications with IBM Rational Performance Tester
Load Testing SAP Applications with IBM Rational Performance Tester
 
Testing Without Waste - Automatic Testing
Testing Without Waste - Automatic TestingTesting Without Waste - Automatic Testing
Testing Without Waste - Automatic Testing
 
Qa exploratory test charter template
Qa exploratory test charter templateQa exploratory test charter template
Qa exploratory test charter template
 
Performance testing
Performance testingPerformance testing
Performance testing
 
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
Enhancing Quality and Test in Medical Device Design - Part 2.pdfEnhancing Quality and Test in Medical Device Design - Part 2.pdf
Enhancing Quality and Test in Medical Device Design - Part 2.pdf
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
ISTQBCH2.ppt
ISTQBCH2.pptISTQBCH2.ppt
ISTQBCH2.ppt
 
Gd test kieu_test
Gd test kieu_testGd test kieu_test
Gd test kieu_test
 
Ncerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssmNcerc rlmca202 adm m4 ssm
Ncerc rlmca202 adm m4 ssm
 

Recently uploaded

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Recently uploaded (20)

Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 

Testing

  • 2. TEST PYRAMID More unit tests, less high level end-to-end tests running through a GUI Layers: UI Service Unit
  • 3. SOFTWARE TESTING ICE CREAM CONE Reverse of Testing Pyramid Manual Testing UI Service Unit
  • 4. TESTING ICE CREAM CONE DISADVANTAGES - Slow - usually not headless - Brittle - simple changes could easily break UI tests - Developers have less ownership of quality
  • 5. TEST SOURCES - Business Tests - QA Tests - Developer Tests
  • 6. BUSINESS TESTS - Behavior-Driven Development is relevant - acceptance criteria describe what the application is supposed to do, and how it does so, in high-level business terms - acceptance criteria become high-level executable specifications - living documentation - speed up the feedback cycle and reduce risk
  • 7. QA TESTS - help discover and clarify the acceptance criteria - identify other scenarios beyond the acceptance criteria - ensure business rules are respected - ensure support for required number of users or transactions - demonstrate that application is fit for purpose
  • 8. DEVELOPER TESTS - Test-Driven Development related - build confidence in the code base - illustrate how components are intended to work, making it easier to understand - safer to make changes without introducing new bugs
  • 9. TEST ROLES - Tests that Discover - Tests that Describe - Tests that Demonstrate
  • 10. DISCOVER - Story Mapping - Impact Mapping - Example Mapping
  • 11. DESCRIBE - explain business rules or features, in high-level terms - Illustrate how the system works - BDD - executable specifications - Example Tools: Cucumber, SpecFlow, Spock
  • 12. DEMONSTRATE - demonstrate that the feature works in more detail - check boundary conditions, edge cases or error handling
  • 14. ROLES AND NATURE - Quadrant 1 - high level business outcomes - Quadrant 2 - still business-focused but more detailed and comprehensive - Quadrant 3 - written by and for developers, for easier & cheaper maintenance - Quadrant 4 - technical equivalent of Quadrant 2 tests
  • 15. JUST ENOUGH AUTOMATED TESTS TOO FEW - reduce confidence - more manual testing - slower deployment cycles TOO MANY - take a lot of time to write - increase maintenance costs
  • 16. BE PRAGMATIC - Write the simplest and fastest test that you can get away with - Illustrate the point you are trying to demonstrate - Make it easy to identify the cause of the problem
  • 17. WELL BALANCED TEST PORTFOLIO - Don’t use a web test where a service or unit test could do the same job - Just the right amount of tests at the right levels to have confidence
  • 18. REFERENCES Test Pyramid Heresy - https://dzone.com/articles/a-test-pyramid-heresy Test Pyramid - https://martinfowler.com/bliki/TestPyramid.html Google Testing Blog - https://testing.googleblog.com/2015/04/just-say-no-to- more-end-to-end-tests.html