SlideShare a Scribd company logo
Balancing Test Automation
in a Continuous Delivery
World
kwilliams@brightcove.com
twitter: @bckwilliams
Keith Williams
Brightcove Automation Specialist
Composition of Effective Test Strategy
Component Test
API or Integration
Test
Webdriver
• Low level - testing within a component
• Developed in same language as product
• Written by developers
• Use TDD if it works for your team
• Heavily mocked, eliminating DB and other
service interactions
Component Testing
• Easy to develop tests - function/method
based
• Run as first step of every code checkin
• Very fast runtime with many tests
• Easiest tests for great code coverage
• Depending on language, some great tools
available (RSpec, JUnit, Midje,
CoffeeScript, etc)
Component Testing - Benefits
• Tests the exposed API of a running service
• Tests target the service's API, but may use
other APIs
• Define each service's API specification and
test cases
• May leverage mocking of other services or
DB
API Testing
• Developer and CD pipeline run after
deployment
• Fast running with many tests
• Catches server configuration and
deployment issues
• API_Test Framework for RESTful APIs
API Testing - Benefits
• Browser based testing of deployed stack
• Tests are a flow through web pages perhaps in
different services
• Few or no mocks
• Fewer tests that are slow running
• More difficult to develop
Webdriver Testing
• Full Integration tests
• Good for testing services with UI components
• Catches environment, networking,
configuration, deployment and service issues
Webdriver Testing Benefits
• Selenium 2.0 based with Ruby page_object
• Pages of each service are in separate gem
• Tests reside in the service source tree
Webdriver Framework
• API Specification
o Service
 Resource (base_url)
• Operation
o http verb, list of urls (versions)
• API Shortcuts - ease use from other tests
API_Test Framework
• API Tests - reside with service source
• Allow table based specification of test cases
• Easy to understand what tests are
present/missing for a resource/operation
• Automatically expanded for all operations
(versions) and urls
• Easy to add new positive/negative tests
API_Test Framework(cont'd)
?
Questions

More Related Content

PPTX
Rest assured
PPTX
Test driven
PDF
PDF
Automation testing API in Java
PPT
Ppt of soap ui
PPTX
PowerShell DSC Partial Configurations and Cross-node Synchronization
PPT
Presentation for soap ui
PPTX
API Test Automation Tips and Tricks
Rest assured
Test driven
Automation testing API in Java
Ppt of soap ui
PowerShell DSC Partial Configurations and Cross-node Synchronization
Presentation for soap ui
API Test Automation Tips and Tricks

What's hot (20)

PPTX
Azure Web Apps
PPTX
Functional REST API testing in ASP.NET Core
PPTX
API Testing Using REST Assured with TestNG
PPTX
Power shell saturday ravikanth
PDF
The Need For Speed - NxtGen Cambridge
PDF
Automate REST API Testing
PDF
Laravel and CodeIgniter: pros & cons
PPTX
ASP.NET Core Unit Testing
PPTX
API Testing with Open Source Code and Cucumber
PPTX
ASP.NET Core MVC + Web API with Overview
PPTX
Using PowerShell DSC with AWS Cloud and CloudFormation
PPTX
Belajar Postman test runner
PDF
Moving ASP.NET MVC to ASP.NET Core
PPTX
PPTX
Test Design and Automation for REST API
PPTX
Kovair Requirements Management
PDF
Building front-end apps that Scale - FOSDEM 2014
PPTX
Api testing
PDF
API Testing. Streamline your testing process.
PPTX
Selenium-4-and-appium-2
Azure Web Apps
Functional REST API testing in ASP.NET Core
API Testing Using REST Assured with TestNG
Power shell saturday ravikanth
The Need For Speed - NxtGen Cambridge
Automate REST API Testing
Laravel and CodeIgniter: pros & cons
ASP.NET Core Unit Testing
API Testing with Open Source Code and Cucumber
ASP.NET Core MVC + Web API with Overview
Using PowerShell DSC with AWS Cloud and CloudFormation
Belajar Postman test runner
Moving ASP.NET MVC to ASP.NET Core
Test Design and Automation for REST API
Kovair Requirements Management
Building front-end apps that Scale - FOSDEM 2014
Api testing
API Testing. Streamline your testing process.
Selenium-4-and-appium-2
Ad

Viewers also liked (20)

PPTX
Shift Communications, Big Data for Marketing, MassTLC
PPTX
Black Duck Software
PDF
Kristine presentation
PPT
The Economics of Innovation: The Road to Optimism
PPTX
Fritz Knabe Big Data Presentation
PPTX
SmartBear marketing data preso
PPTX
Dyn ppt
PPTX
MassTLC seminar: Connecting Marketing to Revenue through Sales Analytics, En...
PPT
MassTLC PCHI presentation: Care Redesign, IT needs
PPT
Mass tlc big data panel sep 20
PPTX
Ash Dahod Mobile Data Deluge
PPT
Acquia presented at MassTLC event on automated testing
PPTX
Development teams: an untapped source of innovation that you must unlock!
PDF
Thoughtbot continuous delivery
PDF
Progress' Jonathan Daly MassTLC video_marketing_preso
PPTX
Mark Watkins Big Data Presentation
PDF
Apperian brian day
PDF
12 06 11 practically green presentation
KEY
MassTCL rapid development summit Kayak keynote
PPT
Dyn, Cory von Wallenstein
Shift Communications, Big Data for Marketing, MassTLC
Black Duck Software
Kristine presentation
The Economics of Innovation: The Road to Optimism
Fritz Knabe Big Data Presentation
SmartBear marketing data preso
Dyn ppt
MassTLC seminar: Connecting Marketing to Revenue through Sales Analytics, En...
MassTLC PCHI presentation: Care Redesign, IT needs
Mass tlc big data panel sep 20
Ash Dahod Mobile Data Deluge
Acquia presented at MassTLC event on automated testing
Development teams: an untapped source of innovation that you must unlock!
Thoughtbot continuous delivery
Progress' Jonathan Daly MassTLC video_marketing_preso
Mark Watkins Big Data Presentation
Apperian brian day
12 06 11 practically green presentation
MassTCL rapid development summit Kayak keynote
Dyn, Cory von Wallenstein
Ad

Similar to Brightcove presentation on Automated Testing (20)

PPTX
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
PPTX
Testing API's: Tools & Tips & Tricks (Oh My!)
PPTX
Testing Web Apps and APIs (1)
PPTX
Testing Web Apps and API's
PPTX
Introduction to APIs & how to automate APIs testing with selenium web driver?
PPTX
Diving into the World of Test Automation The Approach and the Technologies
PDF
Top 11 API testing tools for 2022
PDF
Next-Level API Automation Testing Techniques – Part 1
PPTX
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
PPTX
Testing soapui
PDF
Automated testing
PPTX
WebServices using Soap
PPTX
SoapUi using WebServices
PDF
Testing Web APIs 1st Edition Mark Winteringham
PPTX
WebServices using Soapui
PPSX
API Test Automation
PPTX
Testing soapui
 
PPTX
SOA Testing
PPTX
Real Testing Scenario Strategy Practical TestOps Presentation
PDF
Web Services Testing Best Practices: Secure, Reliable, and Scalable APIs
4&5.pptx SOFTWARE TESTING UNIT-4 AND UNIT-5
Testing API's: Tools & Tips & Tricks (Oh My!)
Testing Web Apps and APIs (1)
Testing Web Apps and API's
Introduction to APIs & how to automate APIs testing with selenium web driver?
Diving into the World of Test Automation The Approach and the Technologies
Top 11 API testing tools for 2022
Next-Level API Automation Testing Techniques – Part 1
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
Testing soapui
Automated testing
WebServices using Soap
SoapUi using WebServices
Testing Web APIs 1st Edition Mark Winteringham
WebServices using Soapui
API Test Automation
Testing soapui
 
SOA Testing
Real Testing Scenario Strategy Practical TestOps Presentation
Web Services Testing Best Practices: Secure, Reliable, and Scalable APIs

More from MassTLC (20)

PPTX
MassIntelligence 2018: Intelligent Connected Cities
PPTX
MassIntelligence 2018: How to Rapidly Prototype an AI Solution
PPTX
MassIntelligence 2018: Connecting the Nation's Top Fishing Port
PPTX
MassIntelligence 2018: Transportation & Mobility, Alex Wyglinski
PPTX
Andres Corrada-Emmanuel - Ground Truth Problems in Business
PDF
MassTLC product launch campaign strategies, Jason Baudreau, NetBrain
PDF
MassTLC product launch campaign strategies, ben austin, Carbon Black
PDF
Forget about A.G.I. Let's Build Useable Ai Tools!
PDF
Cloud Edge Computing: Beyond the Data Center
PPTX
Old Company - New Technology, Elixir @ the MBTA
PDF
Lisa seacat deluca io t robotics presentation
PPTX
Smart cities thinking outside the box
PPTX
Lily lim data privacy ownership and ethics
PPTX
Abbas bagasra smart ag
PPTX
Ben goodman cybersecurity in the iiot
PPTX
MassTLC Opening Slides and Simulation Session
PPTX
Tom Hopcroft: State of the Tech Economy Key Findings
PPT
Michael Goodman: The State of the State Economy
PDF
MassTLC summit_amacleod_predictiveanalytics
PDF
Brainshark mass tlc brand revitalizaion_final for distribution
MassIntelligence 2018: Intelligent Connected Cities
MassIntelligence 2018: How to Rapidly Prototype an AI Solution
MassIntelligence 2018: Connecting the Nation's Top Fishing Port
MassIntelligence 2018: Transportation & Mobility, Alex Wyglinski
Andres Corrada-Emmanuel - Ground Truth Problems in Business
MassTLC product launch campaign strategies, Jason Baudreau, NetBrain
MassTLC product launch campaign strategies, ben austin, Carbon Black
Forget about A.G.I. Let's Build Useable Ai Tools!
Cloud Edge Computing: Beyond the Data Center
Old Company - New Technology, Elixir @ the MBTA
Lisa seacat deluca io t robotics presentation
Smart cities thinking outside the box
Lily lim data privacy ownership and ethics
Abbas bagasra smart ag
Ben goodman cybersecurity in the iiot
MassTLC Opening Slides and Simulation Session
Tom Hopcroft: State of the Tech Economy Key Findings
Michael Goodman: The State of the State Economy
MassTLC summit_amacleod_predictiveanalytics
Brainshark mass tlc brand revitalizaion_final for distribution

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Cloud computing and distributed systems.
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Machine learning based COVID-19 study performance prediction
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
cuic standard and advanced reporting.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Cloud computing and distributed systems.
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Machine learning based COVID-19 study performance prediction
20250228 LYD VKU AI Blended-Learning.pptx
NewMind AI Monthly Chronicles - July 2025
cuic standard and advanced reporting.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation_ Review paper, used for researhc scholars
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Empathic Computing: Creating Shared Understanding
Mobile App Security Testing_ A Comprehensive Guide.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?

Brightcove presentation on Automated Testing

  • 1. Balancing Test Automation in a Continuous Delivery World
  • 3. Composition of Effective Test Strategy Component Test API or Integration Test Webdriver
  • 4. • Low level - testing within a component • Developed in same language as product • Written by developers • Use TDD if it works for your team • Heavily mocked, eliminating DB and other service interactions Component Testing
  • 5. • Easy to develop tests - function/method based • Run as first step of every code checkin • Very fast runtime with many tests • Easiest tests for great code coverage • Depending on language, some great tools available (RSpec, JUnit, Midje, CoffeeScript, etc) Component Testing - Benefits
  • 6. • Tests the exposed API of a running service • Tests target the service's API, but may use other APIs • Define each service's API specification and test cases • May leverage mocking of other services or DB API Testing
  • 7. • Developer and CD pipeline run after deployment • Fast running with many tests • Catches server configuration and deployment issues • API_Test Framework for RESTful APIs API Testing - Benefits
  • 8. • Browser based testing of deployed stack • Tests are a flow through web pages perhaps in different services • Few or no mocks • Fewer tests that are slow running • More difficult to develop Webdriver Testing
  • 9. • Full Integration tests • Good for testing services with UI components • Catches environment, networking, configuration, deployment and service issues Webdriver Testing Benefits
  • 10. • Selenium 2.0 based with Ruby page_object • Pages of each service are in separate gem • Tests reside in the service source tree Webdriver Framework
  • 11. • API Specification o Service  Resource (base_url) • Operation o http verb, list of urls (versions) • API Shortcuts - ease use from other tests API_Test Framework
  • 12. • API Tests - reside with service source • Allow table based specification of test cases • Easy to understand what tests are present/missing for a resource/operation • Automatically expanded for all operations (versions) and urls • Easy to add new positive/negative tests API_Test Framework(cont'd)