SlideShare a Scribd company logo
1 of 21
Download to read offline
Automated Testing at the
Speed of Headless
A New Sauce Labs Solution
Alissa Lydon, Sauce Labs
Samantha Coffman, Sauce Labs
Agenda
1. Outline the market trends that have lead to
rise of headless testing
2. Discuss best practices for integrating
headless into your testing strategy
3. Introduce Sauce Headless
Software Development Is Evolving
And it has changed the way it is tested!
Trends That are Accelerating Shift Left
Processes
DevOps → Developers Testing More
React and Angular → Future of Web
Chrome + Firefox as Best First Checks
Tools
JS Frameworks for WebDriver
Components → Integration Testing
Lighter Infrastructure Options
Not All Tests are Created Equal
Production
E2E TEST
•Regression
testing
DEPLOY
•Smoke test
•User acceptance
testing
OPERATE
•Production
testing
•Debugging
•Smoke testing
Local Dev Environments
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
•Component test
Shared Delivery Pipeline
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
MERGE
New Challenges
● Cultural shift
● Sharing resources
● Context switching
INTEGRATE
•Integration tests
We Know This Challenge
• Because Sauce had it
• We needed a way to reliably ship our code faster
• So we built the first iteration of Sauce Headless
• Developers get test feedback much earlier
• As our architecture evolves and development velocity increases,
customers are asking for the same
Early pipeline testing means developers need infrastructure that is lightweight, fast, and gives
them quick feedback on the quality of their code
Headless Chrome + Firefox
• Quick feedback for developers
• Accelerate code velocity
Pass / Fail Data
• Complement to full cross browser testing
Affordable Infrastructure (Containers in the Cloud)
• Lower Price Point
• Allows for broad adoption across development teams
Sauce Headless… An Introduction
What is a Headless Browser?
Vs.
VM GUI BROWSER
Sauce Headless to the Rescue
Production
E2E TEST
•Regression
testing
DEPLOY
•Smoke test
•User acceptance
testing
OPERATE
•Production
testing
•Debugging
•Smoke testing
Local Dev Environments
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
•Component test
Shared Delivery Pipeline
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
MERGE
INTEGRATE
•Integration tests
Integrate Headless into your Testing Strategy
Which Tests?
Atomic, autonomous, short tests
Parallelize well and quick feedback
Integration test for components
Where in your pipeline?
Every PR in shared dev env.
Sanity check
Scalable infrastructure for “Shift Left”
Go Headless with Sauce
Headless Testing on Sauce Labs
Increase build efficiency
● Run early pipeline browser tests quickly
● Improve developer efficiency with faster feedback
Single unified testing experience
● Run your existing Selenium tests on both platforms
● Ability to run tests on either headless for quick feedback,
or cross browser for full debugging capabilities
Security
● With the ability to run through our secure Sauce
Connect tunnel, Sauce Headless is the most secure
solution on the market today
Reduce cost to support and maintain
● Blending headless with cross browser
● Increase testing coverage in overall
development pipeline
● No maintenance, no setup, no cloud to manage
Stories From the Beta
“We were able to reduce our UI regression run
from 5 hours to 30 minutes. Such short
feedback cycles are crucial to advance our
continuous delivery pipeline and catch bugs
as early as possible!”
“I have a suite of 6 tests... that runs in less
than 200ms! That is magical. I never
thought Sauce would be this fast.”
“Using Sauce Headless reduced the run
time of a subset of our tests (~110) from 30
mins to 5 mins.”
“Man this platform is awesome, I can run
so many tests so fast! Super stoked!”
The Complete Continuous Testing Pipeline
Production
E2E TEST
•Regression
testing
•Performance
testing
DEPLOY
•Smoke test
•User acceptance
testing
•Visual Testing
OPERATE
•Production
testing
•Debugging
•Smoke testing
Local Dev Environments
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
•Component test
Shared Delivery Pipeline
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
MERGE
INTEGRATE
•Integration tests
The Sauce Experience
Debugging SecureMost
Reliable
Experience Visual Testing Performance Testing
Want to See Headless in Action?
● Stop by the demo theater today
○ 3:00-3:30 in Zilker Terrace Foyer
● Contact your Account Manager to get started
Alissa Lydon
alydon@saucelabs.com
@habes06
Sam Coffman
sam.coffman@saucelabs.com
@samanthacoffma7
Thank you.
Sauce Headless to the Rescue!
MERGE
E2E TEST
•API testing
•Regression
testing
•Performance
testing
INTEGRATE
•Integration tests
DEPLOY
•Smoke test
•Security testing
•User acceptance
testing
•Visual Testing
OPERATE
•Production
testing
•Monitoring
•Debugging
•Smoke testing
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
•Component test
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
Shared Delivery Pipeline Production
RELEASE
Local Dev Environments
RELEASE
Not All Tests are Created Equal
Production
E2E TEST
•API testing
•Regression
testing
•Performance
testing
RELEASE
DEPLOY
•Smoke test
•Security testing
•User acceptance
testing
•Visual Testing
OPERATE
•Production
testing
•Monitoring
•Debugging
•Smoke testing
Local Dev Environments
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
•Component test
Shared Delivery Pipeline
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
MERGE
New Problems
● Cultural shift - Developers aren’t used to writing E2E tests
● Workflow / sharing resources between QA and Dev
● Context switching is detrimental to productivity
INTEGRATE
•Integration tests
We Know This Challenge
• Because Sauce had it
• We needed a way to reliably ship our code faster
• So we built the first iteration of Sauce Headless
• Developers get test feedback much earlier
• As our architecture evolves and development velocity increases,
customers are asking for the same
The Sauce Experience
MERGE
E2E TEST
•API testing
•Regression
testing
•Performance
testing
INTEGRATE
•Integration tests
DEPLOY
•Smoke test
•Security testing
•User acceptance
testing
•Visual Testing
OPERATE
•Production
testing
•Monitoring
•Debugging
•Smoke testing
PLAN
•Feature definition
•Test authoring
•TDD
CODE
•Unit test
POST COMMIT
•Component
Tests
•UI Tests
•Sanity Checks
Shared Delivery Pipeline Production
RELEASE
Local Dev Environments
Debugging SecureMost
Reliable
Experience
The Complete Continuous Testing Pipeline
Visual
Testing
Performance
Testing

More Related Content

What's hot

QA in DevOps: Transformation thru Automation via Jenkins
QA in DevOps:  Transformation thru Automation via JenkinsQA in DevOps:  Transformation thru Automation via Jenkins
QA in DevOps: Transformation thru Automation via Jenkins
Tatyana Kravtsov
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
Mairbek Khadikov
 

What's hot (20)

ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debuggingATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
ATAGTR2017 Upgrading a mobile tester's weapons with advanced debugging
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
 
Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration Continuous Delivery, Continuous Integration
Continuous Delivery, Continuous Integration
 
Automate More with Selenium for your RWD
Automate More with Selenium for your RWDAutomate More with Selenium for your RWD
Automate More with Selenium for your RWD
 
Testing in a continuous delivery environment
Testing in a continuous delivery environmentTesting in a continuous delivery environment
Testing in a continuous delivery environment
 
ATAGTR2017 Wearable App Testing
ATAGTR2017 Wearable App TestingATAGTR2017 Wearable App Testing
ATAGTR2017 Wearable App Testing
 
Make the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open SourceMake the Shift from Manual to Automation with Open Source
Make the Shift from Manual to Automation with Open Source
 
State of mobile Continuous Delivery at Spotify
State of mobile Continuous Delivery at SpotifyState of mobile Continuous Delivery at Spotify
State of mobile Continuous Delivery at Spotify
 
How to Leverage XCUITest for Continuous Testing
How to Leverage XCUITest for Continuous TestingHow to Leverage XCUITest for Continuous Testing
How to Leverage XCUITest for Continuous Testing
 
Four Keys to Efficient DevOps
Four Keys to Efficient DevOpsFour Keys to Efficient DevOps
Four Keys to Efficient DevOps
 
Testing AS A Container - Irfan Ahmad
Testing AS A Container - Irfan AhmadTesting AS A Container - Irfan Ahmad
Testing AS A Container - Irfan Ahmad
 
Test Automation in Agile
Test Automation in AgileTest Automation in Agile
Test Automation in Agile
 
Developing Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & PythonDeveloping Brilliant and Powerful APIs in Ruby & Python
Developing Brilliant and Powerful APIs in Ruby & Python
 
QA in DevOps: Transformation thru Automation via Jenkins
QA in DevOps:  Transformation thru Automation via JenkinsQA in DevOps:  Transformation thru Automation via Jenkins
QA in DevOps: Transformation thru Automation via Jenkins
 
Service Virtualization - Kalpna
Service Virtualization - KalpnaService Virtualization - Kalpna
Service Virtualization - Kalpna
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
3x3: Speeding Up Mobile Releases
3x3: Speeding Up Mobile Releases3x3: Speeding Up Mobile Releases
3x3: Speeding Up Mobile Releases
 
10 Benefits of Automated Testing
10 Benefits of Automated Testing10 Benefits of Automated Testing
10 Benefits of Automated Testing
 
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
DevOps Testing | Continuous Testing In DevOps | DevOps Tutorial | DevOps Trai...
 

Similar to Automated Testing at The Speed of Headless by Alissa Lydon and Samantha Coffman

Similar to Automated Testing at The Speed of Headless by Alissa Lydon and Samantha Coffman (20)

5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation5 Steps to Jump Start Your Test Automation
5 Steps to Jump Start Your Test Automation
 
Tools for Software Testing
Tools for Software TestingTools for Software Testing
Tools for Software Testing
 
End to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET TechnologiesEnd to End Testing with Quality Enthusiasts: SDET Technologies
End to End Testing with Quality Enthusiasts: SDET Technologies
 
Dev/Test scenarios in DevOps world
Dev/Test scenarios in DevOps worldDev/Test scenarios in DevOps world
Dev/Test scenarios in DevOps world
 
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-54&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
 
How to Fit Performance Testing into a DevOps Environment
How to Fit Performance Testing into a DevOps EnvironmentHow to Fit Performance Testing into a DevOps Environment
How to Fit Performance Testing into a DevOps Environment
 
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
SenchaCon 2016: The Changing Landscape of JavaScript Testing - Joel Watson an...
 
How to Add Perfecto to Your CI
How to Add Perfecto to Your CIHow to Add Perfecto to Your CI
How to Add Perfecto to Your CI
 
Web Automation Testing for developers?
Web Automation Testing for developers?Web Automation Testing for developers?
Web Automation Testing for developers?
 
Mobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest TeamsMobile App Quality Roadmap for DevTest Teams
Mobile App Quality Roadmap for DevTest Teams
 
Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...
Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...
Cloud Native Testing, 2020 Edition: A Modern Blueprint for Pre-production Tes...
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
 
Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)Best Practices in Mobile CI (webinar)
Best Practices in Mobile CI (webinar)
 
Improving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce LabsImproving Android app testing with Appium and Sauce Labs
Improving Android app testing with Appium and Sauce Labs
 
Cloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak KoyuncuCloud for Agile Testing - Burak Koyuncu
Cloud for Agile Testing - Burak Koyuncu
 
Testing the continuous delivery process @dev opsdays ams 2013
Testing the continuous delivery process   @dev opsdays ams 2013Testing the continuous delivery process   @dev opsdays ams 2013
Testing the continuous delivery process @dev opsdays ams 2013
 
Continuous Delivery for Open Source Java projects
Continuous Delivery for Open Source Java projectsContinuous Delivery for Open Source Java projects
Continuous Delivery for Open Source Java projects
 
CD
CDCD
CD
 
Automated Testing – Web, Mobile, Desktop - Challenges and Successes
Automated Testing – Web, Mobile, Desktop - Challenges and SuccessesAutomated Testing – Web, Mobile, Desktop - Challenges and Successes
Automated Testing – Web, Mobile, Desktop - Challenges and Successes
 
Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014Continuous Integration, Deploy, Test From Beginning To End 2014
Continuous Integration, Deploy, Test From Beginning To End 2014
 

More from Sauce Labs

Your Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at ScaleYour Framework for Success: introduction to JavaScript Testing at Scale
Your Framework for Success: introduction to JavaScript Testing at Scale
Sauce Labs
 
Automating Hybrid Applications with Appium
Automating Hybrid Applications with AppiumAutomating Hybrid Applications with Appium
Automating Hybrid Applications with Appium
Sauce Labs
 
Quality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI TestingQuality at Speed: More API Testing, Less UI Testing
Quality at Speed: More API Testing, Less UI Testing
Sauce Labs
 
Creating Digital Confidence with Test Automation
Creating Digital Confidence with Test AutomationCreating Digital Confidence with Test Automation
Creating Digital Confidence with Test Automation
Sauce Labs
 

More from Sauce Labs (20)

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

Recently uploaded

biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
1301aanya
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
Areesha Ahmad
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
PirithiRaju
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
AlMamun560346
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
ssuser79fe74
 

Recently uploaded (20)

GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
Site Acceptance Test .
Site Acceptance Test                    .Site Acceptance Test                    .
Site Acceptance Test .
 
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)COMPUTING ANTI-DERIVATIVES(Integration by SUBSTITUTION)
COMPUTING ANTI-DERIVATIVES (Integration by SUBSTITUTION)
 
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATIONSTS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
STS-UNIT 4 CLIMATE CHANGE POWERPOINT PRESENTATION
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verifiedConnaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
Connaught Place, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
Dopamine neurotransmitter determination using graphite sheet- graphene nano-s...
Dopamine neurotransmitter determination using graphite sheet- graphene nano-s...Dopamine neurotransmitter determination using graphite sheet- graphene nano-s...
Dopamine neurotransmitter determination using graphite sheet- graphene nano-s...
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
High Profile 🔝 8250077686 📞 Call Girls Service in GTB Nagar🍑
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 
Seismic Method Estimate velocity from seismic data.pptx
Seismic Method Estimate velocity from seismic  data.pptxSeismic Method Estimate velocity from seismic  data.pptx
Seismic Method Estimate velocity from seismic data.pptx
 
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
9999266834 Call Girls In Noida Sector 22 (Delhi) Call Girl Service
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
Chemical Tests; flame test, positive and negative ions test Edexcel Internati...
 

Automated Testing at The Speed of Headless by Alissa Lydon and Samantha Coffman

  • 1. Automated Testing at the Speed of Headless A New Sauce Labs Solution Alissa Lydon, Sauce Labs Samantha Coffman, Sauce Labs
  • 2. Agenda 1. Outline the market trends that have lead to rise of headless testing 2. Discuss best practices for integrating headless into your testing strategy 3. Introduce Sauce Headless
  • 3. Software Development Is Evolving And it has changed the way it is tested!
  • 4. Trends That are Accelerating Shift Left Processes DevOps → Developers Testing More React and Angular → Future of Web Chrome + Firefox as Best First Checks Tools JS Frameworks for WebDriver Components → Integration Testing Lighter Infrastructure Options
  • 5. Not All Tests are Created Equal Production E2E TEST •Regression testing DEPLOY •Smoke test •User acceptance testing OPERATE •Production testing •Debugging •Smoke testing Local Dev Environments PLAN •Feature definition •Test authoring •TDD CODE •Unit test •Component test Shared Delivery Pipeline POST COMMIT •Component Tests •UI Tests •Sanity Checks MERGE New Challenges ● Cultural shift ● Sharing resources ● Context switching INTEGRATE •Integration tests
  • 6. We Know This Challenge • Because Sauce had it • We needed a way to reliably ship our code faster • So we built the first iteration of Sauce Headless • Developers get test feedback much earlier • As our architecture evolves and development velocity increases, customers are asking for the same
  • 7. Early pipeline testing means developers need infrastructure that is lightweight, fast, and gives them quick feedback on the quality of their code Headless Chrome + Firefox • Quick feedback for developers • Accelerate code velocity Pass / Fail Data • Complement to full cross browser testing Affordable Infrastructure (Containers in the Cloud) • Lower Price Point • Allows for broad adoption across development teams Sauce Headless… An Introduction
  • 8. What is a Headless Browser? Vs. VM GUI BROWSER
  • 9. Sauce Headless to the Rescue Production E2E TEST •Regression testing DEPLOY •Smoke test •User acceptance testing OPERATE •Production testing •Debugging •Smoke testing Local Dev Environments PLAN •Feature definition •Test authoring •TDD CODE •Unit test •Component test Shared Delivery Pipeline POST COMMIT •Component Tests •UI Tests •Sanity Checks MERGE INTEGRATE •Integration tests
  • 10. Integrate Headless into your Testing Strategy Which Tests? Atomic, autonomous, short tests Parallelize well and quick feedback Integration test for components Where in your pipeline? Every PR in shared dev env. Sanity check Scalable infrastructure for “Shift Left”
  • 11. Go Headless with Sauce Headless Testing on Sauce Labs Increase build efficiency ● Run early pipeline browser tests quickly ● Improve developer efficiency with faster feedback Single unified testing experience ● Run your existing Selenium tests on both platforms ● Ability to run tests on either headless for quick feedback, or cross browser for full debugging capabilities Security ● With the ability to run through our secure Sauce Connect tunnel, Sauce Headless is the most secure solution on the market today Reduce cost to support and maintain ● Blending headless with cross browser ● Increase testing coverage in overall development pipeline ● No maintenance, no setup, no cloud to manage
  • 12. Stories From the Beta “We were able to reduce our UI regression run from 5 hours to 30 minutes. Such short feedback cycles are crucial to advance our continuous delivery pipeline and catch bugs as early as possible!” “I have a suite of 6 tests... that runs in less than 200ms! That is magical. I never thought Sauce would be this fast.” “Using Sauce Headless reduced the run time of a subset of our tests (~110) from 30 mins to 5 mins.” “Man this platform is awesome, I can run so many tests so fast! Super stoked!”
  • 13. The Complete Continuous Testing Pipeline Production E2E TEST •Regression testing •Performance testing DEPLOY •Smoke test •User acceptance testing •Visual Testing OPERATE •Production testing •Debugging •Smoke testing Local Dev Environments PLAN •Feature definition •Test authoring •TDD CODE •Unit test •Component test Shared Delivery Pipeline POST COMMIT •Component Tests •UI Tests •Sanity Checks MERGE INTEGRATE •Integration tests The Sauce Experience Debugging SecureMost Reliable Experience Visual Testing Performance Testing
  • 14. Want to See Headless in Action? ● Stop by the demo theater today ○ 3:00-3:30 in Zilker Terrace Foyer ● Contact your Account Manager to get started Alissa Lydon alydon@saucelabs.com @habes06 Sam Coffman sam.coffman@saucelabs.com @samanthacoffma7
  • 16.
  • 17.
  • 18. Sauce Headless to the Rescue! MERGE E2E TEST •API testing •Regression testing •Performance testing INTEGRATE •Integration tests DEPLOY •Smoke test •Security testing •User acceptance testing •Visual Testing OPERATE •Production testing •Monitoring •Debugging •Smoke testing PLAN •Feature definition •Test authoring •TDD CODE •Unit test •Component test POST COMMIT •Component Tests •UI Tests •Sanity Checks Shared Delivery Pipeline Production RELEASE Local Dev Environments RELEASE
  • 19. Not All Tests are Created Equal Production E2E TEST •API testing •Regression testing •Performance testing RELEASE DEPLOY •Smoke test •Security testing •User acceptance testing •Visual Testing OPERATE •Production testing •Monitoring •Debugging •Smoke testing Local Dev Environments PLAN •Feature definition •Test authoring •TDD CODE •Unit test •Component test Shared Delivery Pipeline POST COMMIT •Component Tests •UI Tests •Sanity Checks MERGE New Problems ● Cultural shift - Developers aren’t used to writing E2E tests ● Workflow / sharing resources between QA and Dev ● Context switching is detrimental to productivity INTEGRATE •Integration tests
  • 20. We Know This Challenge • Because Sauce had it • We needed a way to reliably ship our code faster • So we built the first iteration of Sauce Headless • Developers get test feedback much earlier • As our architecture evolves and development velocity increases, customers are asking for the same
  • 21. The Sauce Experience MERGE E2E TEST •API testing •Regression testing •Performance testing INTEGRATE •Integration tests DEPLOY •Smoke test •Security testing •User acceptance testing •Visual Testing OPERATE •Production testing •Monitoring •Debugging •Smoke testing PLAN •Feature definition •Test authoring •TDD CODE •Unit test POST COMMIT •Component Tests •UI Tests •Sanity Checks Shared Delivery Pipeline Production RELEASE Local Dev Environments Debugging SecureMost Reliable Experience The Complete Continuous Testing Pipeline Visual Testing Performance Testing