SlideShare a Scribd company logo
Test Automation Benefits
“There’s no place for
human beings to be doing
regression testing
manually.”
-Jez Humble
Save resources
Example:
More testing during development
Speedier deployments
• Faster through the testing phase
• More likely the 1st deployment will be correct
Why don’t more people use them?
Reasons used for not having them
• Extra time to create them
• Learning Curve/Experience
• They can be more code than the actual software
• More to maintain
• They take time to run
Overcoming the Impediments
Browser API Services Domain DAL
• Limited paths
• Smoke
• Slow, hardest to maintain
• More test setup required
than unit
• Closely-
collaborating
components
• Complex
interactions, many
permutations faster
to test
Browser automation
JavaScript unit
tests
API-level AATs
(integration
tests)
Integration tests
Integration tests
Unit testsUnit tests
• Complex
query
permutation
• Logic
permutati
ons
• Fastest
• Isolated
• Fast
• Checks any
UI
• Processes /
preparing
and what is
sent to the
API is ok
• Check
business
requirements
• Limited paths
• Slower than
unit
• More test
setup required
than unit
Develop a
Testing
Strategy
Know what tests to write when
• Balance high # of unit tests + selected end-to-end & acceptance
• AATs should be a small portion of your test suite
• Is your new feature entirely new?
Acceptance
Component
Unit
Black box
White box
End-to-end
Business facing
Localized
Technology
facing
Testing Strategies
The First Tests…
• Find the most crucial and most changed functionality.
• Determine if the code is testable. If not, start with black box end-to-
end tests.
• Once code is being covered by tests in some way, start refactoring it
so unit tests can be written.
When a bug isn’t caught
• See why bug got through the existing unit/integration tests
• Add unit, integration tests for it
Unit
Test First Approach
• Create tests up front. Helps guide code creation and makes it easier
to think through the functionality, and tests.
• Start using TDD when appropriate
Champion Testing
• Show the data on how automated testing reduces bugs, results in
better architected code, and saves time and money.
• Coach team members who don’t have enough experience
• Pair program
• Review open source projects test strategies and code

More Related Content

PPTX
5 Considerations When Adopting Automated Testing
PDF
Becoming a better programmer - unit testing
PPTX
Mihai mahulea the zen of test driven development
PPTX
Test Automation Architecture That Works by Bhupesh Dahal
PPTX
QAorHighway2016
PPTX
Test Driven Development
PDF
Agile methodologies
PPT
Introduction to Gauge
5 Considerations When Adopting Automated Testing
Becoming a better programmer - unit testing
Mihai mahulea the zen of test driven development
Test Automation Architecture That Works by Bhupesh Dahal
QAorHighway2016
Test Driven Development
Agile methodologies
Introduction to Gauge

What's hot (20)

PPTX
Small is Beautiful- Fully Automate your Test Case Design
PPTX
Presentation delex
PPT
Introduction to software testing
PPTX
Agile San Diego: Testing as Exploration (Continuous Delivery w/o Automation)
PPTX
Test Driven Development
PDF
NYC MeetUp 10.9
PPTX
Test Strategies in Microservices
PPTX
Specification by example
PDF
Boston MeetUp 10.10
PDF
Developing a test automation strategy by Brian Bayer
PPTX
Unit tests benefits
PPTX
Android application development part2
PDF
Agile planning and iterations with Scrum using Team Foundation Server 2013
PPTX
Kanban like another approach for gaming projects, Катерина Гаськова
PPTX
Automated testing
PPT
Test Automation
PPTX
Test Automation failure analysis
PPT
Agile Testing - Challenges
PDF
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
PPTX
Unit Testing and Tools - ADNUG
Small is Beautiful- Fully Automate your Test Case Design
Presentation delex
Introduction to software testing
Agile San Diego: Testing as Exploration (Continuous Delivery w/o Automation)
Test Driven Development
NYC MeetUp 10.9
Test Strategies in Microservices
Specification by example
Boston MeetUp 10.10
Developing a test automation strategy by Brian Bayer
Unit tests benefits
Android application development part2
Agile planning and iterations with Scrum using Team Foundation Server 2013
Kanban like another approach for gaming projects, Катерина Гаськова
Automated testing
Test Automation
Test Automation failure analysis
Agile Testing - Challenges
[HCMC STC Jan 2015] FATS: A Framework For Automated Testing Scenarios
Unit Testing and Tools - ADNUG
Ad

Similar to Benefits from AATs (20)

PDF
Automated testing-whitepaper
PPTX
Creating testing tools to support development
PDF
Agile Testing Pasadena JUG Aug2009
PDF
Agile Acceptance testing with Fitnesse
PPT
11_Automated_Testing.ppt
PPT
11_Automated_Testing.ppt
PPT
11_Automated_Testing.ppt
PDF
Test Automation
PDF
Introduction to Automated Testing
PDF
Introduction to-automated-testing
PPTX
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
PPTX
Making the Unstable Stable - An Intro To Testing
PPTX
Software testing
PDF
Understanding Automated Testing Tools for Web Applications.pdf
PDF
Web Application Testing – The Basics of Web App Test Automation.pdf
PPT
Test Automation Framework Designs
PPTX
Introduction to Automation Testing
PPTX
Introduction to Automation Testing
PPT
Test Automation Framework Designs
PDF
Mastering Software Test Automation: A Comprehensive Guide for Beginners and E...
Automated testing-whitepaper
Creating testing tools to support development
Agile Testing Pasadena JUG Aug2009
Agile Acceptance testing with Fitnesse
11_Automated_Testing.ppt
11_Automated_Testing.ppt
11_Automated_Testing.ppt
Test Automation
Introduction to Automated Testing
Introduction to-automated-testing
Test Automation - Presented by Nagarajan, Architect @ TechCafe-2014
Making the Unstable Stable - An Intro To Testing
Software testing
Understanding Automated Testing Tools for Web Applications.pdf
Web Application Testing – The Basics of Web App Test Automation.pdf
Test Automation Framework Designs
Introduction to Automation Testing
Introduction to Automation Testing
Test Automation Framework Designs
Mastering Software Test Automation: A Comprehensive Guide for Beginners and E...
Ad

More from Wyn B. Van Devanter (9)

PPTX
Container orchestration overview
PPTX
Developer workflow with docker
PPTX
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
PPTX
Developer workflow with docker
PPTX
.Net Core 1.0 vs .NET Framework
PPTX
Testable requirements
PPTX
Performance tuning an Object-Relational Mapper (ORM)
PPTX
Automated Acceptance Test Practices and Pitfalls
PPTX
Automated Acceptance Tests in .NET
Container orchestration overview
Developer workflow with docker
AWS Elastic Container Service (ECS) with a CI Pipeline Overview
Developer workflow with docker
.Net Core 1.0 vs .NET Framework
Testable requirements
Performance tuning an Object-Relational Mapper (ORM)
Automated Acceptance Test Practices and Pitfalls
Automated Acceptance Tests in .NET

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Modernizing your data center with Dell and AMD
PDF
KodekX | Application Modernization Development
PDF
Unlocking AI with Model Context Protocol (MCP)
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
MYSQL Presentation for SQL database connectivity
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Electronic commerce courselecture one. Pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
Modernizing your data center with Dell and AMD
KodekX | Application Modernization Development
Unlocking AI with Model Context Protocol (MCP)
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Review of recent advances in non-invasive hemoglobin estimation
MYSQL Presentation for SQL database connectivity
The Rise and Fall of 3GPP – Time for a Sabbatical?
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Digital-Transformation-Roadmap-for-Companies.pptx
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
Encapsulation_ Review paper, used for researhc scholars
Building Integrated photovoltaic BIPV_UPV.pdf

Benefits from AATs

  • 1. Test Automation Benefits “There’s no place for human beings to be doing regression testing manually.” -Jez Humble
  • 3. More testing during development
  • 4. Speedier deployments • Faster through the testing phase • More likely the 1st deployment will be correct
  • 5. Why don’t more people use them?
  • 6. Reasons used for not having them • Extra time to create them • Learning Curve/Experience • They can be more code than the actual software • More to maintain • They take time to run
  • 8. Browser API Services Domain DAL • Limited paths • Smoke • Slow, hardest to maintain • More test setup required than unit • Closely- collaborating components • Complex interactions, many permutations faster to test Browser automation JavaScript unit tests API-level AATs (integration tests) Integration tests Integration tests Unit testsUnit tests • Complex query permutation • Logic permutati ons • Fastest • Isolated • Fast • Checks any UI • Processes / preparing and what is sent to the API is ok • Check business requirements • Limited paths • Slower than unit • More test setup required than unit Develop a Testing Strategy
  • 9. Know what tests to write when • Balance high # of unit tests + selected end-to-end & acceptance • AATs should be a small portion of your test suite • Is your new feature entirely new?
  • 10. Acceptance Component Unit Black box White box End-to-end Business facing Localized Technology facing Testing Strategies
  • 11. The First Tests… • Find the most crucial and most changed functionality. • Determine if the code is testable. If not, start with black box end-to- end tests. • Once code is being covered by tests in some way, start refactoring it so unit tests can be written.
  • 12. When a bug isn’t caught • See why bug got through the existing unit/integration tests • Add unit, integration tests for it Unit
  • 13. Test First Approach • Create tests up front. Helps guide code creation and makes it easier to think through the functionality, and tests. • Start using TDD when appropriate
  • 14. Champion Testing • Show the data on how automated testing reduces bugs, results in better architected code, and saves time and money. • Coach team members who don’t have enough experience • Pair program • Review open source projects test strategies and code

Editor's Notes

  • #3: Bugs will be caught earlier
  • #4: Not doing, btw
  • #6: Some have even said it’s not worth the cost
  • #7: Some have even said it’s not worth the cost