how to integrate testing into development
TRANSCRIPT
![Page 1: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/1.jpg)
How to Integrate Testing into Development
PNSQC | October 12, 2021
![Page 2: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/2.jpg)
Great to be with you!
Joe Lust
● Build cloud testing infrastructure● Live and breathe testing @ mabl
Engineer @ [email protected]
![Page 3: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/3.jpg)
Quality engineering plays a critical role in key industry trends
Continuous Deployment
Continuous Integration
PaaS DevOpsShift Left
SaaSCloud
Continuous Delivery
Agile Development
![Page 4: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/4.jpg)
We want high velocity, high throughput
![Page 5: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/5.jpg)
We want high velocity, high throughput,and high quality
![Page 6: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/6.jpg)
Test automation instills confidence
2020 State of DevOps Report, Presented by Puppet and CircleCI
![Page 7: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/7.jpg)
We have work to do
Source: 2020 GitLab Survey
Teams that claim to have full test automation
12%
![Page 8: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/8.jpg)
Risk: QA becomes the bottleneck
![Page 9: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/9.jpg)
While test automation is not new, past automation
approaches have not helped app dev teams keep up with
increased demands of modern delivery.
The Forrester WaveTM for Continuous Functional Test Automation Suites, Q2 2020
![Page 10: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/10.jpg)
Testing in DevOps
![Page 11: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/11.jpg)
Deliver better quality software faster
3XFaster test creation
TESTING COVERAGE TEST MAINTENANCE VELOCITY
70%Reduction in maintenance
effort
50%Reduction in deployment time
![Page 12: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/12.jpg)
Let’s build quality across the pipeline
mabl: Guide to Testing in DevOps Pipelines, 2021
![Page 13: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/13.jpg)
E2E test automation in the code phase
Primary goals
● Working changes● Core end-to-end test coverage● Plan
![Page 14: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/14.jpg)
Validate changes against local builds
Run local tests and see results from your friendly command line
![Page 15: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/15.jpg)
Pair on E2E tests in the code phase
Work-in-progress feature branch
![Page 16: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/16.jpg)
Identify existing coverage, create a plan
Locate all relevant tests
![Page 17: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/17.jpg)
E2E testing in the (pivotal) pull request phase
Primary Goal(s)● Don’t merge something that’s
going to stop the pipeline
● Effective end-to-end test coverage
● Set us up for long-term success
![Page 18: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/18.jpg)
Collaborate on test review
AutomationLogic
● Selectors
● Timing
● JavaScript
● Parallelization
● Reuse
● Setup
● Teardown
![Page 19: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/19.jpg)
Run regression tests against preview environments
Deep links to detailed results
![Page 20: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/20.jpg)
Low-code testing in the deployment phase
Goals
● No defects in production● Comprehensive end-to-end test coverage● Broad understanding of quality
![Page 21: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/21.jpg)
Take the back-and-forth out of defect reporting
![Page 22: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/22.jpg)
Develop a shared view into issues and trends
![Page 23: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/23.jpg)
Use data-driven testing to cover more scenarios
![Page 24: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/24.jpg)
Use realistic generated data to add more variation
![Page 25: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/25.jpg)
Add responsive test coverage in a couple clicks
![Page 26: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/26.jpg)
Periodic testing in production continues
Goals
● Ensure users experiencing what you intended● Monitor for new user journeys
![Page 27: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/27.jpg)
Test early.Test often.
Test everywhere.
![Page 28: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/28.jpg)
Intelligent test automation for Agile teamsLearn more at mabl.com
Increase Test Coverage: Create and manage tests for the entire user journey in a single platform.
Build Reliable Tests: As your application evolves, tests auto-heal along with it.
Test at the Speed of Development: Anyone can build and maintain tests in minutes, not days.
Integrated into Your Workflow: Integrate testing natively with popular CI/CD, issue tracking, and collaboration platforms.
![Page 29: How to Integrate Testing into Development](https://reader031.vdocuments.mx/reader031/viewer/2022020707/61ff5bf20a9748153942e988/html5/thumbnails/29.jpg)
Questions?