SlideShare a Scribd company logo
1
10x Test Coverage, Less Drama: Shift Left
Functional & Performance Testing
Dave Karow, Developer Advocate – BlazeMeter
Leo Laskin, Senior Solutions Architect – Sauce Labs
2
SHIFTING LEFT TO GET COVERAGE @ SPEED
Dave Karow
{ Developer Advocate }
3
Poll Questions Coming Up – Let’s Define Shift Left First
Shifting left means starting testing earlier in the development cycle and writing those early tests
in the same small team that is developing the code.
Put another way, shifting left means not waiting for a “hand-off” of specifications or code to a
separate group or waiting until developers think they are “done” with a sprint or release.
Shift left eliminates surprises where fundamental problems are found late in the process.
Shift left reinforces the definition of “done” being when a story has been delivered as properly
functioning code that performs to expectations.
4
Test Coverage @ Speed
+20%
Better
Tools
Increased
Efficiency
To achieve SUPERIOR TEST COVERAGE
we must TEST MORE
HOW?
+1000%
Shift
Left
Superior Test
Coverage
5
“Shift Left” Vision
As code is committed
tests specific to that code run automatically
and developers get instant feedback,
so the entire team always knows the state of the code,
and bugs get fixed before anyone declares “done”
6
Shift Left Means Start At The Very Beginning…
SHIFT LEFT SHIFT RIGHT
DELIVERY
CONTINUOUS TESTING
CODE BUILD PRODUCTION
7
Before Shifting Left
Feature #1
Development time
Feature #2
Development Time
Feature #3
Development Time
Feature #1
Functional & Regression Testing
Feature #2
Functional & Regression
Testing
Feature #1
Perf Test
Automation
Development
Iteration 3Iteration 2Iteration 1
Iteration 1
“ready” for release
8
Issues Always Pile Up…
 Technical debt accumulates
 “Release vs quality” tension a constant
 Context switch = inefficient thrashing
 Automation is an after thought & often abandoned
9
Let’s Try Another Way
 Create simple text-based files to define small tests
 Store the tests with your code
 Run the code and the test on every commit
10
Demo: Build an API Endpoint Test In 3 Minutes
1. Create a template via the Chrome Extension
2. Add a variable, assertion and performance threshold
3. Test it on our desktop
4. Commit, Clone and Repeat
11
After Shifting Left
Feature #1
Development time
Feature #2
Development Time
Feature #3
Development Time
Feature #1
Test Development &
Execution
Feature #2
Test Development &
Execution
Feature #3
Test Development &
Execution
Integration Tests = New Feature + Regression + Performance
Shippable Feature !
12
After Shifting Left
 Technical debt doesn’t grow
 Quality is embedded in every step of the SDLC
 Immediate developer feedback
 More tests are written as part of the SDLC
 Faster ”Shippable product” with higher quality

More Related Content

PDF
An Introduction To Automated API Testing
PDF
How to Automate API Testing
PDF
4 Major Advantages of API Testing
PPTX
Belajar Postman test runner
PPTX
API Test Automation Tips and Tricks
PDF
API Testing: The heart of functional testing" with Bj Rollison
PPTX
Api testing
PDF
API Testing: Answers to Your Top 3 Questions
An Introduction To Automated API Testing
How to Automate API Testing
4 Major Advantages of API Testing
Belajar Postman test runner
API Test Automation Tips and Tricks
API Testing: The heart of functional testing" with Bj Rollison
Api testing
API Testing: Answers to Your Top 3 Questions

What's hot (20)

PDF
Automate REST API Testing
PDF
API Testing
PPTX
Evaluating and Testing Web APIs
PDF
Api testing and steps to do it
PPTX
Super powered API testing
PPTX
Api Testing
PDF
Testing APIs in the Cloud
PDF
Automation testing API in Java
PPTX
Introduction to APIs & how to automate APIs testing with selenium web driver?
PPTX
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
PPTX
Api testing
PDF
API TESTING
PDF
Api testing
PPTX
Speed upyourtest with_appium
PDF
Space Camp :: Introduction to API Security
PPTX
Meetup #5 API Testing World
PPTX
An introduction to api testing | David Tzemach
PPTX
Automated tests to a REST API
PPTX
Test api
PDF
Why vREST?
Automate REST API Testing
API Testing
Evaluating and Testing Web APIs
Api testing and steps to do it
Super powered API testing
Api Testing
Testing APIs in the Cloud
Automation testing API in Java
Introduction to APIs & how to automate APIs testing with selenium web driver?
Data Driven API Testing: Best Practices for Real-World Testing Scenarios
Api testing
API TESTING
Api testing
Speed upyourtest with_appium
Space Camp :: Introduction to API Security
Meetup #5 API Testing World
An introduction to api testing | David Tzemach
Automated tests to a REST API
Test api
Why vREST?
Ad

Similar to 10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing (20)

PDF
Continuous delivery its not about the technology, its about the people.
PDF
Continuous delivery its not about the technology, its about the people. @pipe...
PPTX
BTD2015 - Your Place In DevTOps is Finding Solutions - Not Just Bugs!
PDF
Apex triggers i
PDF
Continuous delivery @ hi q
PDF
Continuous delivery its not about the technology, its about the people. @sats...
PPTX
Continuous Testing 2016
PPTX
Continuous Testing
PDF
Agile2012 soccer witha_basketballteam
PDF
Continuous delivery in Qbon
PDF
Continuous Delivery Testing @HiQ
PDF
MeetingPoint 2015 - Swimming upstream in the container revolution
KEY
Testing and DevOps Culture: Lessons Learned
PDF
Geecon Microservices 2015 - Swimming upstream in the container revolution
PDF
Software Development 2020 - Swimming upstream in the container revolution
PDF
Swimming upstream in the container revolution
PDF
NextBuild 2015 - Swimming upstream in the container revolution
PPTX
Introduction to testing in Rails
PDF
Java Forum Nord 2015 - Swimming upstream in the container revolution
PDF
A journey to_be_a_software_craftsman
Continuous delivery its not about the technology, its about the people.
Continuous delivery its not about the technology, its about the people. @pipe...
BTD2015 - Your Place In DevTOps is Finding Solutions - Not Just Bugs!
Apex triggers i
Continuous delivery @ hi q
Continuous delivery its not about the technology, its about the people. @sats...
Continuous Testing 2016
Continuous Testing
Agile2012 soccer witha_basketballteam
Continuous delivery in Qbon
Continuous Delivery Testing @HiQ
MeetingPoint 2015 - Swimming upstream in the container revolution
Testing and DevOps Culture: Lessons Learned
Geecon Microservices 2015 - Swimming upstream in the container revolution
Software Development 2020 - Swimming upstream in the container revolution
Swimming upstream in the container revolution
NextBuild 2015 - Swimming upstream in the container revolution
Introduction to testing in Rails
Java Forum Nord 2015 - Swimming upstream in the container revolution
A journey to_be_a_software_craftsman
Ad

More from Sauce Labs (20)

PDF
Simplify Salesforce Testing with AI-Driven Codeless Tools
PDF
Testing on Mobile Devices with Location Services
PDF
Your Framework for Success: introduction to JavaScript Testing at Scale
PDF
Automating Hybrid Applications with Appium
PDF
Quality at Speed: More API Testing, Less UI Testing
PPTX
Creating Digital Confidence with Test Automation
PDF
Just Enough (Automated) Testing
PDF
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
PDF
How Open Source Helps to Bring Back Product Obsession
PDF
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
PDF
[Deu] Test Automatisierung Mit Web Driver.io
PDF
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
PDF
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
PDF
How to Measure Success in Continuous Testing
PDF
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
PDF
5 Steps to Jump Start Your Test Automation
PDF
Sauce Labs Webinar: Rising Importance of Software Testing
PDF
BDD With Selenide by Hima Bindu Peteti
PDF
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
PDF
Continuous Delivery for "Mature" Codebases by Melisa Benua
Simplify Salesforce Testing with AI-Driven Codeless Tools
Testing on Mobile Devices with Location Services
Your Framework for Success: introduction to JavaScript Testing at Scale
Automating Hybrid Applications with Appium
Quality at Speed: More API Testing, Less UI Testing
Creating Digital Confidence with Test Automation
Just Enough (Automated) Testing
Using Axe to Add Accessibility Checks to Your Existing Selenium Tests
How Open Source Helps to Bring Back Product Obsession
Webinar: A Sneak Peek at Selenium 4 with Simon Stewart
[Deu] Test Automatisierung Mit Web Driver.io
Accelerating Innovation: Leveraging Open Source to Optimize Your Shift-Left I...
Accelerating Your Digital Agenda with Continuous Testing ft. Forrester
How to Measure Success in Continuous Testing
From Zero to 2.7 Million - How Verizon Media Embraced Open Source to Accelera...
5 Steps to Jump Start Your Test Automation
Sauce Labs Webinar: Rising Importance of Software Testing
BDD With Selenide by Hima Bindu Peteti
Closer To the Metal - Why and How We Use XCTest and Espresso by Mario Negro P...
Continuous Delivery for "Mature" Codebases by Melisa Benua

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Mushroom cultivation and it's methods.pdf
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Tartificialntelligence_presentation.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
August Patch Tuesday
PPTX
A Presentation on Artificial Intelligence
PPTX
Machine Learning_overview_presentation.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
Teaching material agriculture food technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Programs and apps: productivity, graphics, security and other tools
Mushroom cultivation and it's methods.pdf
Univ-Connecticut-ChatGPT-Presentaion.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Spectroscopy.pptx food analysis technology
Tartificialntelligence_presentation.pptx
Encapsulation_ Review paper, used for researhc scholars
August Patch Tuesday
A Presentation on Artificial Intelligence
Machine Learning_overview_presentation.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Group 1 Presentation -Planning and Decision Making .pptx
NewMind AI Weekly Chronicles - August'25-Week II
SOPHOS-XG Firewall Administrator PPT.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Per capita expenditure prediction using model stacking based on satellite ima...
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf

10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing

  • 1. 1 10x Test Coverage, Less Drama: Shift Left Functional & Performance Testing Dave Karow, Developer Advocate – BlazeMeter Leo Laskin, Senior Solutions Architect – Sauce Labs
  • 2. 2 SHIFTING LEFT TO GET COVERAGE @ SPEED Dave Karow { Developer Advocate }
  • 3. 3 Poll Questions Coming Up – Let’s Define Shift Left First Shifting left means starting testing earlier in the development cycle and writing those early tests in the same small team that is developing the code. Put another way, shifting left means not waiting for a “hand-off” of specifications or code to a separate group or waiting until developers think they are “done” with a sprint or release. Shift left eliminates surprises where fundamental problems are found late in the process. Shift left reinforces the definition of “done” being when a story has been delivered as properly functioning code that performs to expectations.
  • 4. 4 Test Coverage @ Speed +20% Better Tools Increased Efficiency To achieve SUPERIOR TEST COVERAGE we must TEST MORE HOW? +1000% Shift Left Superior Test Coverage
  • 5. 5 “Shift Left” Vision As code is committed tests specific to that code run automatically and developers get instant feedback, so the entire team always knows the state of the code, and bugs get fixed before anyone declares “done”
  • 6. 6 Shift Left Means Start At The Very Beginning… SHIFT LEFT SHIFT RIGHT DELIVERY CONTINUOUS TESTING CODE BUILD PRODUCTION
  • 7. 7 Before Shifting Left Feature #1 Development time Feature #2 Development Time Feature #3 Development Time Feature #1 Functional & Regression Testing Feature #2 Functional & Regression Testing Feature #1 Perf Test Automation Development Iteration 3Iteration 2Iteration 1 Iteration 1 “ready” for release
  • 8. 8 Issues Always Pile Up…  Technical debt accumulates  “Release vs quality” tension a constant  Context switch = inefficient thrashing  Automation is an after thought & often abandoned
  • 9. 9 Let’s Try Another Way  Create simple text-based files to define small tests  Store the tests with your code  Run the code and the test on every commit
  • 10. 10 Demo: Build an API Endpoint Test In 3 Minutes 1. Create a template via the Chrome Extension 2. Add a variable, assertion and performance threshold 3. Test it on our desktop 4. Commit, Clone and Repeat
  • 11. 11 After Shifting Left Feature #1 Development time Feature #2 Development Time Feature #3 Development Time Feature #1 Test Development & Execution Feature #2 Test Development & Execution Feature #3 Test Development & Execution Integration Tests = New Feature + Regression + Performance Shippable Feature !
  • 12. 12 After Shifting Left  Technical debt doesn’t grow  Quality is embedded in every step of the SDLC  Immediate developer feedback  More tests are written as part of the SDLC  Faster ”Shippable product” with higher quality

Editor's Notes

  • #5: Test coverage @ speed But can your test coverage keep the same pace as your software without compromising the time to release? How do you achieve superior test coverage at speed? We can always use better tools. Tools that were built recently. However, simply using better tools will probably be more efficient, but definitely not significant. To see a significant impact, we have to practice the “Shift Left” paradigm. Shifting left will not add 20% efficiency, it will drive your test coverage to be 10 times as wide (or probably a 100 times).
  • #7: Change the definition of done – code + working tests
  • #11: Use recorder to capture view product call Delete everything except the API call Leave Headers there Save as Taurus Show YML file Delete all headers except content = JSON Switch to enhanced YML file Show variable for ID, assertion, threshold Run it in Taurus
  • #12: Squashing bugs mid sprint – not after handing to qa, no burn down charts Swarm to resolve
  • #13: Squashing bugs mid sprint – not after handing to qa, no burn down charts Swarm to resolve aim for technical debt to be zero