SlideShare a Scribd company logo
1 of 20
Download to read offline
Maximize Test Automation Initiatives
With a Risk Based Approach
Carson Underwood
Introduction
● 12 years in software development
● Started in game development
● Have been doing test automation for four years
● I automate my house (I might have a problem)
● Long time musician
Agenda
● What is Risk Based development and testing
● Benefits
● Types of risks
● Reducing risk with automation
● Quality Gates / Quality Debt
● Feedback / Metrics / Continuous Evaluation
What Is Risk Based Testing?
● Risk based testing is an approach that reduces
product & project risks
● Identifies the risks of a product or project
● Uses risk levels to guide the testing process
● Streamlines the test planning process
● Allows for better planning, reporting and high
quality software
Benefits Of Risk Based Testing
● Improved productivity
● Improved quality
● Clear metrics for test coverage
● Reduced redundancy
● Faster release cycles
Types Of Risks
Project Risks
● Organizational
○ Skill training, resources
○ Communication
○ Collaboration / Department Silos
● Technical
○ Business Requirements
○ Environments
○ Low quality code, data or tests
● Third Party
○ Third party services, contracts etc…
● Integration / Interoperability
Product Risks
● Failure-prone builds
● Potential to cause harm to the
company
○ Legal, loss of money, downtime
● Poor software characteristics
○ Functionality, reliability, usability,
performance
● Poor data integrity and quality
● Software that does not meet
requirements
Risk Ranking Levels
● Level 1: Spelling, minor UI issues, etc...
● Level 2: Inconsistent behavior, minor performance
issue
● Level 3: Negative testing, app misbehaves with
unexpected input
● Level 4: App does perform critical functions correctly
● Level 5: App crashes, complete loss of usability
Example Approach
Reducing Risk With Test Automation
● Create “Quality Gates” in CI / CD environments
● Reduce time to feedback
● Automate appropriate tests
● Increase coverage
● Staggered test types
● Automate along side development
Example Project
● Sign In for our POS Changed drastically
● Determined tests that were no longer valid
○ Updated the high risk tests first
● Automated new tests as development work finished
● Branched automation work with development
● Skipped automating low risk tests for the first
release
Quality Gates
Quality Gates: Code Quality
● Continuous monitoring of overal code quality
● Use tools to monitor commits & provide code
reviews
● Create unit tests
● Provide development, testing, and production
environments
Quality Gates: Integration Tests
● Verify expected services are running
● Verify application is responsive
● Perform data driven functional API testing
● Ensure needed eternal services are available
Quality Gates: UI & Security /
Performance
● Run high level functional UI tests as smoke tests
● Ensure these pass
● Run a suite of full UI regression tests based on risk
● Run security scans for each build
● Run light load tests to ensure performance has not
decreased
Reduce Time To Feedback
● Create high level automated smoke tests
● Include only high risk areas of the application
● Run with each build / deploy
● Provides immediate feedback to development /
stakeholders
● Automate in dev branch for new features / changes
What To (and not to) Automate
● Automate high risk tests - Level 4 & 5 Risks
○ Data integrity
○ Potential to lose customers / cost company money
● Security tests
○ Security tests at multiple levels
○ Also High Impact to business / customers
● Do not automate subjective tests - Level 1 risks
○ Appearance
○ Frequently changing tests that cause false positives
○ Don’t increase the risk of Automated tests breaking for low ROI
Reduce Automation Risk
● Automate appropriately to reduce risk of false positives
● Create robust frameworks
○ Environment and data agnostic
○ Reusable test assets
○ Report good metrics
● Reduce redundancy to reduce project time risk
● Ensure tests can be cherry picked at run time
● Happy path tests vs edge case tests
Metrics
● Use test case management and issue tracking tools
○ Number of and lists of tests ran
○ Number of failed tests
○ Reasons for failures
○ Failure history
● Opened issues, rejected issues, issues found post release
● Link issues to tests, and components of the application
● Differentiate between environment, data, application, test case...
Continuous Evaluation
● Monitor and report metrics
● Build test plans based on commonly failed scenarios
● Exclude Low risk / stable tests if there is no code change
● Increase coverage but not time
● Constantly re-evaluate risk ratings based on failures / passes
Conclusion
● Risk Based testing is about minimizing risk, not eliminating
● Use risk rankings to plan development and testing
● Quality Gates and Metrics are a must to reduce Quality Debt
● Robust and reliable automation is a must
● Questions?

More Related Content

What's hot

4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
Forrester High School
 
Test effort estimation
Test effort estimationTest effort estimation
Test effort estimation
ramesh kumar
 
Software testing implementation
Software testing implementationSoftware testing implementation
Software testing implementation
Luthfia Ulinnuha
 
Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC
minimini22
 

What's hot (20)

Forgotten? Ignored? Obsolete? Static testing techniques
Forgotten? Ignored? Obsolete? Static testing techniquesForgotten? Ignored? Obsolete? Static testing techniques
Forgotten? Ignored? Obsolete? Static testing techniques
 
[Quang Nguyen] Performance Test in Best Practices
[Quang Nguyen] Performance Test in Best Practices[Quang Nguyen] Performance Test in Best Practices
[Quang Nguyen] Performance Test in Best Practices
 
4. The Software Development Process - Testing
4. The Software Development Process - Testing4. The Software Development Process - Testing
4. The Software Development Process - Testing
 
[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It[Paul Holland] Bad Metrics and What You Can Do About It
[Paul Holland] Bad Metrics and What You Can Do About It
 
1. The Software Development Process - Analysis
1. The Software Development Process - Analysis1. The Software Development Process - Analysis
1. The Software Development Process - Analysis
 
Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!Put Risk Based Testing in place right now!
Put Risk Based Testing in place right now!
 
Choosing the right QA strategy for a successful project
Choosing the right QA strategy for a successful projectChoosing the right QA strategy for a successful project
Choosing the right QA strategy for a successful project
 
Learn Basic Of Software testing
Learn Basic Of Software testingLearn Basic Of Software testing
Learn Basic Of Software testing
 
Test effort estimation
Test effort estimationTest effort estimation
Test effort estimation
 
10+ Reasons to Use Static Testing
10+ Reasons to Use Static Testing10+ Reasons to Use Static Testing
10+ Reasons to Use Static Testing
 
Ad-hoc Testing – Non-methodical yet Significant
Ad-hoc Testing – Non-methodical yet SignificantAd-hoc Testing – Non-methodical yet Significant
Ad-hoc Testing – Non-methodical yet Significant
 
Software Testing ppt
Software Testing pptSoftware Testing ppt
Software Testing ppt
 
Quality Assurance: An Overview
Quality Assurance: An OverviewQuality Assurance: An Overview
Quality Assurance: An Overview
 
Things to keep in mind before starting a test plan
Things to keep in mind before starting a test planThings to keep in mind before starting a test plan
Things to keep in mind before starting a test plan
 
Software testing implementation
Software testing implementationSoftware testing implementation
Software testing implementation
 
The Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software TestingThe Myths and Facts Surrounding Software Testing
The Myths and Facts Surrounding Software Testing
 
Measurement and Metrics for Test Managers
Measurement and Metrics for Test ManagersMeasurement and Metrics for Test Managers
Measurement and Metrics for Test Managers
 
Software testing
Software testingSoftware testing
Software testing
 
Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC Introduction and Role of a manual testing in a SDLC
Introduction and Role of a manual testing in a SDLC
 
Sdlc + agile business analysis
Sdlc + agile business analysisSdlc + agile business analysis
Sdlc + agile business analysis
 

Similar to Maximize Test Automation with a Risk-Based Approach

Test transformation
Test transformationTest transformation
Test transformation
Deepu S Nath
 

Similar to Maximize Test Automation with a Risk-Based Approach (20)

Software testing a guide from experience
Software testing a guide from experienceSoftware testing a guide from experience
Software testing a guide from experience
 
CodeScience Webinar - Automated Testing for Your Salesforce App — Tips and Tr...
CodeScience Webinar - Automated Testing for Your Salesforce App — Tips and Tr...CodeScience Webinar - Automated Testing for Your Salesforce App — Tips and Tr...
CodeScience Webinar - Automated Testing for Your Salesforce App — Tips and Tr...
 
Testing in a continuous delivery environment
Testing in a continuous delivery environmentTesting in a continuous delivery environment
Testing in a continuous delivery environment
 
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
Testistanbul 2016 - Keynote: "Why Automated Verification Matters" by Kristian...
 
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael BueningAgile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
Agile Testing Transformation is as Easy as 1, 2, 3 by Michael Buening
 
Test transformation
Test transformationTest transformation
Test transformation
 
Rakesh Resume
Rakesh ResumeRakesh Resume
Rakesh Resume
 
Performance testing with jmeter
Performance testing with jmeter Performance testing with jmeter
Performance testing with jmeter
 
Software Testing Process & Trend
Software Testing Process & TrendSoftware Testing Process & Trend
Software Testing Process & Trend
 
Testing Tools Online Training.pdf
Testing Tools Online Training.pdfTesting Tools Online Training.pdf
Testing Tools Online Training.pdf
 
Demise of test scripts rise of test ideas
Demise of test scripts rise of test ideasDemise of test scripts rise of test ideas
Demise of test scripts rise of test ideas
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
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
 
Improving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test AutomationImproving ROI with Scriptless Test Automation
Improving ROI with Scriptless Test Automation
 
How to build confidence in your release cycle
How to build confidence in your release cycleHow to build confidence in your release cycle
How to build confidence in your release cycle
 
QA metrics in Agile (GUIDE)
QA metrics in Agile (GUIDE)QA metrics in Agile (GUIDE)
QA metrics in Agile (GUIDE)
 
Effective Test Estimation
Effective Test EstimationEffective Test Estimation
Effective Test Estimation
 
Getting Started with Server-Side Testing
Getting Started with Server-Side TestingGetting Started with Server-Side Testing
Getting Started with Server-Side Testing
 
Software-Testing-ppt.pptx
Software-Testing-ppt.pptxSoftware-Testing-ppt.pptx
Software-Testing-ppt.pptx
 
testing.pptx
testing.pptxtesting.pptx
testing.pptx
 

More from SmartBear

More from SmartBear (20)

Enforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHubEnforcing Your Organization's API Design Standards with SwaggerHub
Enforcing Your Organization's API Design Standards with SwaggerHub
 
Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1Introducing OpenAPI Version 3.1
Introducing OpenAPI Version 3.1
 
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
IATA Open Air: How API Standardization Enables Innovation in the Airline Indu...
 
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
The State of API 2020 Webinar – Exploring Trends, Tools & Takeaways to Drive ...
 
How LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHubHow LISI Automotive Accelerated Application Delivery with SwaggerHub
How LISI Automotive Accelerated Application Delivery with SwaggerHub
 
Standardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial ServicesStandardising APIs: Powering the Platform Economy in Financial Services
Standardising APIs: Powering the Platform Economy in Financial Services
 
Getting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHubGetting Started with API Standardization in SwaggerHub
Getting Started with API Standardization in SwaggerHub
 
Adopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHubAdopting a Design-First Approach to API Development with SwaggerHub
Adopting a Design-First Approach to API Development with SwaggerHub
 
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
Standardizing APIs Across Your Organization with Swagger and OAS | A SmartBea...
 
Effective API Lifecycle Management
Effective API Lifecycle Management Effective API Lifecycle Management
Effective API Lifecycle Management
 
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
The API Lifecycle Series: Exploring Design-First and Code-First Approaches to...
 
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
The API Lifecycle Series: Evolving API Development and Testing from Open Sour...
 
Artificial intelligence for faster and smarter software testing - Galway Mee...
Artificial intelligence for faster and smarter software testing  - Galway Mee...Artificial intelligence for faster and smarter software testing  - Galway Mee...
Artificial intelligence for faster and smarter software testing - Galway Mee...
 
Successfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile WorldSuccessfully Implementing BDD in an Agile World
Successfully Implementing BDD in an Agile World
 
The Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear WebinarThe Best Kept Secrets of Code Review | SmartBear Webinar
The Best Kept Secrets of Code Review | SmartBear Webinar
 
How Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products FasterHow Capital One Scaled API Design to Deliver New Products Faster
How Capital One Scaled API Design to Deliver New Products Faster
 
Testing Without a GUI Using TestComplete
 Testing Without a GUI Using TestComplete Testing Without a GUI Using TestComplete
Testing Without a GUI Using TestComplete
 
Hidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script ExtensionsHidden Treasure - TestComplete Script Extensions
Hidden Treasure - TestComplete Script Extensions
 
How Bdd Can Save Agile
 How Bdd Can Save Agile How Bdd Can Save Agile
How Bdd Can Save Agile
 
API Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship RulesAPI Automation and TDD to Implement Master Data Survivorship Rules
API Automation and TDD to Implement Master Data Survivorship Rules
 

Recently uploaded

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Recently uploaded (20)

%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
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
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
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
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
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
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 

Maximize Test Automation with a Risk-Based Approach

  • 1. Maximize Test Automation Initiatives With a Risk Based Approach Carson Underwood
  • 2. Introduction ● 12 years in software development ● Started in game development ● Have been doing test automation for four years ● I automate my house (I might have a problem) ● Long time musician
  • 3. Agenda ● What is Risk Based development and testing ● Benefits ● Types of risks ● Reducing risk with automation ● Quality Gates / Quality Debt ● Feedback / Metrics / Continuous Evaluation
  • 4. What Is Risk Based Testing? ● Risk based testing is an approach that reduces product & project risks ● Identifies the risks of a product or project ● Uses risk levels to guide the testing process ● Streamlines the test planning process ● Allows for better planning, reporting and high quality software
  • 5. Benefits Of Risk Based Testing ● Improved productivity ● Improved quality ● Clear metrics for test coverage ● Reduced redundancy ● Faster release cycles
  • 6. Types Of Risks Project Risks ● Organizational ○ Skill training, resources ○ Communication ○ Collaboration / Department Silos ● Technical ○ Business Requirements ○ Environments ○ Low quality code, data or tests ● Third Party ○ Third party services, contracts etc… ● Integration / Interoperability Product Risks ● Failure-prone builds ● Potential to cause harm to the company ○ Legal, loss of money, downtime ● Poor software characteristics ○ Functionality, reliability, usability, performance ● Poor data integrity and quality ● Software that does not meet requirements
  • 7. Risk Ranking Levels ● Level 1: Spelling, minor UI issues, etc... ● Level 2: Inconsistent behavior, minor performance issue ● Level 3: Negative testing, app misbehaves with unexpected input ● Level 4: App does perform critical functions correctly ● Level 5: App crashes, complete loss of usability
  • 9. Reducing Risk With Test Automation ● Create “Quality Gates” in CI / CD environments ● Reduce time to feedback ● Automate appropriate tests ● Increase coverage ● Staggered test types ● Automate along side development
  • 10. Example Project ● Sign In for our POS Changed drastically ● Determined tests that were no longer valid ○ Updated the high risk tests first ● Automated new tests as development work finished ● Branched automation work with development ● Skipped automating low risk tests for the first release
  • 12. Quality Gates: Code Quality ● Continuous monitoring of overal code quality ● Use tools to monitor commits & provide code reviews ● Create unit tests ● Provide development, testing, and production environments
  • 13. Quality Gates: Integration Tests ● Verify expected services are running ● Verify application is responsive ● Perform data driven functional API testing ● Ensure needed eternal services are available
  • 14. Quality Gates: UI & Security / Performance ● Run high level functional UI tests as smoke tests ● Ensure these pass ● Run a suite of full UI regression tests based on risk ● Run security scans for each build ● Run light load tests to ensure performance has not decreased
  • 15. Reduce Time To Feedback ● Create high level automated smoke tests ● Include only high risk areas of the application ● Run with each build / deploy ● Provides immediate feedback to development / stakeholders ● Automate in dev branch for new features / changes
  • 16. What To (and not to) Automate ● Automate high risk tests - Level 4 & 5 Risks ○ Data integrity ○ Potential to lose customers / cost company money ● Security tests ○ Security tests at multiple levels ○ Also High Impact to business / customers ● Do not automate subjective tests - Level 1 risks ○ Appearance ○ Frequently changing tests that cause false positives ○ Don’t increase the risk of Automated tests breaking for low ROI
  • 17. Reduce Automation Risk ● Automate appropriately to reduce risk of false positives ● Create robust frameworks ○ Environment and data agnostic ○ Reusable test assets ○ Report good metrics ● Reduce redundancy to reduce project time risk ● Ensure tests can be cherry picked at run time ● Happy path tests vs edge case tests
  • 18. Metrics ● Use test case management and issue tracking tools ○ Number of and lists of tests ran ○ Number of failed tests ○ Reasons for failures ○ Failure history ● Opened issues, rejected issues, issues found post release ● Link issues to tests, and components of the application ● Differentiate between environment, data, application, test case...
  • 19. Continuous Evaluation ● Monitor and report metrics ● Build test plans based on commonly failed scenarios ● Exclude Low risk / stable tests if there is no code change ● Increase coverage but not time ● Constantly re-evaluate risk ratings based on failures / passes
  • 20. Conclusion ● Risk Based testing is about minimizing risk, not eliminating ● Use risk rankings to plan development and testing ● Quality Gates and Metrics are a must to reduce Quality Debt ● Robust and reliable automation is a must ● Questions?