Trust Your Pipeline - Automatically Testing and End-to-End Java Application

Elias Nogueira
Elias NogueiraLead Software Engineer em Waes
Trust Your Pipeline:
Automatically Testing an
End-to-End Java Application
Bruno Souza | @brjavaman
Elias Nogueira | @eliasnogueira
Different Test Levels
Unit Tests
Component Tests
Integration Test
API Test
Web
Mobile
UI
Static Analysis
Code coverage
Stubs
Mocks
Services
UI Tests
Visual Regression Test
Test Pyramid – Focus on Automated Testing
Trust Your Pipeline - Automatically Testing and End-to-End Java Application
Different Test Levels
Test Pyramid – Focus on Automated Testing
Unit Tests
Component Tests
Integration Test
API Test
Web
Mobile
UI
Machines for web execution
Devices for mobile
executions
Servers ”mid” tests
Continuous Delivery
Development
QAOperations
DevOps
Automated Build
and DeployAutomated
Provisioning
Continuous
Feedback
Automated
Testing
Strategy focus on a Test Pipeline
UNIT
TEST
INTEGRATION
TEST
SERVICE
TEST
ACCEPTANCE
TEST
FUNCTIONAL
TEST
MOCK
SMOKE
WEB
MOBILE
NON FUNCTIONAL TESTS
SCREENSHOTS – LOGS – REPORT – DATA MANAGEMENT - PARAMETERIZED
PARALLEL EXECUTION
SMOKE
CONTRACT
FUNCTIONAL
ACCEPTANCE
REST ASSURED
+
JAVA SPARK (mock)
REST
SELENIUM
WEBDRIVER
WEB
APPIUM
with
EMULATOR
MOBILE
REST ASSURED for test an REST endpoint
SELENIUM WEBDRIVER for a Web Test (functional and acceptance)
APPIUM for Mobile Test (functional and acceptance)
Tool box
Tools for think about test out-of-the-box
Now it’s time to see the tools in action
Example
REST Assured
RestAssured test example
Sending a GET with id 1 (given) and the assert
the response/results (then)
Easy DSL to automating REST services that’s use Given-When-Then syntax
https://github.com/jayway/rest-assured
Selenium WebDriver
Easy DSL to automating REST services that’s use Given-When-Then syntax
https://seleniumhq.org
Selenium automated testing example
Complete example with navigation, localization, manipulation and synchronization
Appium
Tool for automated testing on native Android, iOS or Hybrid mobile apps
https://appium.io
Example with a pre-installed app
Complete example targeting an Android platform
Applied Pipeline
We gonna show this magic!
SERVICE
TEST
ACCEPTANCE
TEST
FUNCTIONAL
TEST
MOCK
WEB
MOBILE
SMOKE
FUNCTIONAL
Thank you
https://github.com/eliasnogueira/ test-automation-javaone-2017
http://code4.life
1 de 13

Recomendados

API Testing following the Test Pyramid por
API Testing following the Test PyramidAPI Testing following the Test Pyramid
API Testing following the Test PyramidElias Nogueira
1.7K visualizações51 slides
Create an architecture for web test automation por
Create an architecture for web test automationCreate an architecture for web test automation
Create an architecture for web test automationElias Nogueira
1.2K visualizações26 slides
[AWS Dev Day] 앱 현대화 | 코드 기반 인프라(IaC)를 활용한 현대 애플리케이션 개발 가속화, 우리도 할 수 있어요 - 김필중... por
[AWS Dev Day] 앱 현대화 | 코드 기반 인프라(IaC)를 활용한 현대 애플리케이션 개발 가속화, 우리도 할 수 있어요 - 김필중...[AWS Dev Day] 앱 현대화 | 코드 기반 인프라(IaC)를 활용한 현대 애플리케이션 개발 가속화, 우리도 할 수 있어요 - 김필중...
[AWS Dev Day] 앱 현대화 | 코드 기반 인프라(IaC)를 활용한 현대 애플리케이션 개발 가속화, 우리도 할 수 있어요 - 김필중...Amazon Web Services Korea
2.7K visualizações63 slides
Building a Development Workflow for Serverless Applications - March 2017 AWS ... por
Building a Development Workflow for Serverless Applications - March 2017 AWS ...Building a Development Workflow for Serverless Applications - March 2017 AWS ...
Building a Development Workflow for Serverless Applications - March 2017 AWS ...Amazon Web Services
4.5K visualizações45 slides
Mock Server Using WireMock por
Mock Server Using WireMockMock Server Using WireMock
Mock Server Using WireMockGlobant
1.3K visualizações12 slides
лекция3 QA por
лекция3 QAлекция3 QA
лекция3 QASvetlana Stoyan
2.7K visualizações19 slides

Mais conteúdo relacionado

Mais procurados

Browser_Stack_Intro por
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_IntroMithilesh Singh
569 visualizações39 slides
내가써본 nGrinder-SpringCamp 2015 por
내가써본 nGrinder-SpringCamp 2015내가써본 nGrinder-SpringCamp 2015
내가써본 nGrinder-SpringCamp 2015Lim SungHyun
5.2K visualizações17 slides
AWS CodeDeploy por
AWS CodeDeployAWS CodeDeploy
AWS CodeDeployTO THE NEW | Technology
3K visualizações20 slides
Getting Started with AWS Device Farm por
Getting Started with AWS Device FarmGetting Started with AWS Device Farm
Getting Started with AWS Device FarmAmazon Web Services
1.3K visualizações27 slides
Unit Testing Android Applications por
Unit Testing Android ApplicationsUnit Testing Android Applications
Unit Testing Android ApplicationsRody Middelkoop
1.2K visualizações24 slides
Introduction To Appium With Robotframework por
Introduction To Appium With RobotframeworkIntroduction To Appium With Robotframework
Introduction To Appium With RobotframeworkSyam Sasi
1.8K visualizações15 slides

Mais procurados(20)

Browser_Stack_Intro por Mithilesh Singh
Browser_Stack_IntroBrowser_Stack_Intro
Browser_Stack_Intro
Mithilesh Singh569 visualizações
내가써본 nGrinder-SpringCamp 2015 por Lim SungHyun
내가써본 nGrinder-SpringCamp 2015내가써본 nGrinder-SpringCamp 2015
내가써본 nGrinder-SpringCamp 2015
Lim SungHyun5.2K visualizações
Getting Started with AWS Device Farm por Amazon Web Services
Getting Started with AWS Device FarmGetting Started with AWS Device Farm
Getting Started with AWS Device Farm
Amazon Web Services1.3K visualizações
Unit Testing Android Applications por Rody Middelkoop
Unit Testing Android ApplicationsUnit Testing Android Applications
Unit Testing Android Applications
Rody Middelkoop1.2K visualizações
Introduction To Appium With Robotframework por Syam Sasi
Introduction To Appium With RobotframeworkIntroduction To Appium With Robotframework
Introduction To Appium With Robotframework
Syam Sasi1.8K visualizações
[AWS Migration Workshop] AWS 클라우드로의 안전하고 신속한 마이그레이션 방안 por Amazon Web Services Korea
[AWS Migration Workshop]  AWS 클라우드로의 안전하고 신속한 마이그레이션 방안[AWS Migration Workshop]  AWS 클라우드로의 안전하고 신속한 마이그레이션 방안
[AWS Migration Workshop] AWS 클라우드로의 안전하고 신속한 마이그레이션 방안
Amazon Web Services Korea3.4K visualizações
Test Design and Automation for REST API por Ivan Katunou
Test Design and Automation for REST APITest Design and Automation for REST API
Test Design and Automation for REST API
Ivan Katunou882 visualizações
Appium & Robot Framework por Furkan Ertürk
Appium & Robot FrameworkAppium & Robot Framework
Appium & Robot Framework
Furkan Ertürk1.5K visualizações
RESTful API Testing using Postman, Newman, and Jenkins por QASymphony
RESTful API Testing using Postman, Newman, and JenkinsRESTful API Testing using Postman, Newman, and Jenkins
RESTful API Testing using Postman, Newman, and Jenkins
QASymphony 5.5K visualizações
Amazon CI/CD Practices for Software Development Teams - SRV320 - Anaheim AWS ... por Amazon Web Services
Amazon CI/CD Practices for Software Development Teams - SRV320 - Anaheim AWS ...Amazon CI/CD Practices for Software Development Teams - SRV320 - Anaheim AWS ...
Amazon CI/CD Practices for Software Development Teams - SRV320 - Anaheim AWS ...
Amazon Web Services316 visualizações
Ship quality mobile apps with speed [Webinar] por BrowserStack
Ship quality mobile apps with speed [Webinar]Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]
BrowserStack499 visualizações
Microservices with Docker por Venkata Naga Ravi
Microservices with Docker Microservices with Docker
Microservices with Docker
Venkata Naga Ravi3.1K visualizações
Learn SoapUI por David Ionut
Learn SoapUILearn SoapUI
Learn SoapUI
David Ionut17K visualizações
Extent Test report v3 with Appium/Selenium por Raman Gowda Hullur
Extent Test report v3 with Appium/SeleniumExtent Test report v3 with Appium/Selenium
Extent Test report v3 with Appium/Selenium
Raman Gowda Hullur1.2K visualizações
Testing Angular por Lilia Sfaxi
Testing AngularTesting Angular
Testing Angular
Lilia Sfaxi5.7K visualizações
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore por Amazon Web Services
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_SingaporeCI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
CI-CD with AWS Developer Tools and Fargate_AWSPSSummit_Singapore
Amazon Web Services1K visualizações
pytest로 파이썬 코드 테스트하기 por Yeongseon Choe
pytest로 파이썬 코드 테스트하기pytest로 파이썬 코드 테스트하기
pytest로 파이썬 코드 테스트하기
Yeongseon Choe818 visualizações
Testing android apps with espresso por Édipo Souza
Testing android apps with espressoTesting android apps with espresso
Testing android apps with espresso
Édipo Souza11.6K visualizações

Similar a Trust Your Pipeline - Automatically Testing and End-to-End Java Application

VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUM por
VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUMVIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUM
VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUMVivek Shukla
206 visualizações7 slides
Testing Web Apps and API's por
Testing Web Apps and API'sTesting Web Apps and API's
Testing Web Apps and API'sPractiTest
681 visualizações16 slides
Testing Web Apps and APIs (1) por
Testing Web Apps and APIs (1)Testing Web Apps and APIs (1)
Testing Web Apps and APIs (1)AAron EvaNS
294 visualizações16 slides
TLE2015_SPI_WATS por
TLE2015_SPI_WATSTLE2015_SPI_WATS
TLE2015_SPI_WATSVijay Rangaiah
672 visualizações10 slides
IBM Innovate DevOps for Mobile Apps por
IBM Innovate DevOps for Mobile Apps IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps Sanjeev Sharma
4.8K visualizações50 slides
Experitest & Wipro Co-Webinar por
Experitest & Wipro Co-Webinar Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar Experitest
1K visualizações34 slides

Similar a Trust Your Pipeline - Automatically Testing and End-to-End Java Application(20)

VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUM por Vivek Shukla
VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUMVIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUM
VIVEKSHUKLA_10YRS_TESTAUTOMATION_SELENIUM
Vivek Shukla206 visualizações
Testing Web Apps and API's por PractiTest
Testing Web Apps and API'sTesting Web Apps and API's
Testing Web Apps and API's
PractiTest681 visualizações
Testing Web Apps and APIs (1) por AAron EvaNS
Testing Web Apps and APIs (1)Testing Web Apps and APIs (1)
Testing Web Apps and APIs (1)
AAron EvaNS294 visualizações
TLE2015_SPI_WATS por Vijay Rangaiah
TLE2015_SPI_WATSTLE2015_SPI_WATS
TLE2015_SPI_WATS
Vijay Rangaiah672 visualizações
IBM Innovate DevOps for Mobile Apps por Sanjeev Sharma
IBM Innovate DevOps for Mobile Apps IBM Innovate DevOps for Mobile Apps
IBM Innovate DevOps for Mobile Apps
Sanjeev Sharma4.8K visualizações
Experitest & Wipro Co-Webinar por Experitest
Experitest & Wipro Co-Webinar Experitest & Wipro Co-Webinar
Experitest & Wipro Co-Webinar
Experitest1K visualizações
Dev ops for cross platform mobile modeveast 12 por Sanjeev Sharma
Dev ops for cross platform mobile   modeveast 12Dev ops for cross platform mobile   modeveast 12
Dev ops for cross platform mobile modeveast 12
Sanjeev Sharma1.6K visualizações
SatishKumar_Prolifics por Satish kumar Bonu
SatishKumar_ProlificsSatishKumar_Prolifics
SatishKumar_Prolifics
Satish kumar Bonu71 visualizações
VishalSinha_Resume_Ora por Vishal Sinha
VishalSinha_Resume_OraVishalSinha_Resume_Ora
VishalSinha_Resume_Ora
Vishal Sinha138 visualizações
API Virtualization: Mocking on Steroids por SmartBear
API Virtualization: Mocking on SteroidsAPI Virtualization: Mocking on Steroids
API Virtualization: Mocking on Steroids
SmartBear4.5K visualizações
TestComplete – A Sophisticated Automated Testing Tool by SmartBear por Software Testing Solution
TestComplete – A Sophisticated Automated Testing Tool by SmartBearTestComplete – A Sophisticated Automated Testing Tool by SmartBear
TestComplete – A Sophisticated Automated Testing Tool by SmartBear
Software Testing Solution1.6K visualizações
Modernizing Testing as Apps Re-Architect por DevOps.com
Modernizing Testing as Apps Re-ArchitectModernizing Testing as Apps Re-Architect
Modernizing Testing as Apps Re-Architect
DevOps.com238 visualizações
Dayananda_M.Tech_CSE por Dayananda D.R
Dayananda_M.Tech_CSEDayananda_M.Tech_CSE
Dayananda_M.Tech_CSE
Dayananda D.R120 visualizações
TMA Mobile Testing por TMA Solutions
TMA Mobile TestingTMA Mobile Testing
TMA Mobile Testing
TMA Solutions447 visualizações
Mobile test automation perfecto star east por Perfecto Mobile
Mobile test automation perfecto star eastMobile test automation perfecto star east
Mobile test automation perfecto star east
Perfecto Mobile2.3K visualizações
Resume_QA por Nimish Kumar
Resume_QAResume_QA
Resume_QA
Nimish Kumar166 visualizações
Accelerated Quality with CA Technologies Testing Solutions por CA Technologies
Accelerated Quality with CA Technologies Testing SolutionsAccelerated Quality with CA Technologies Testing Solutions
Accelerated Quality with CA Technologies Testing Solutions
CA Technologies1.6K visualizações
Java Test Automation for REST, Web and Mobile por Elias Nogueira
Java Test Automation for REST, Web and MobileJava Test Automation for REST, Web and Mobile
Java Test Automation for REST, Web and Mobile
Elias Nogueira1.6K visualizações

Mais de Elias Nogueira

Criando uma arquitetura para seus testes de API com RestAssured por
Criando uma arquitetura para seus testes de API com RestAssuredCriando uma arquitetura para seus testes de API com RestAssured
Criando uma arquitetura para seus testes de API com RestAssuredElias Nogueira
2.3K visualizações42 slides
De a máxima cobertura nos seus testes de API por
De a máxima cobertura nos seus testes de APIDe a máxima cobertura nos seus testes de API
De a máxima cobertura nos seus testes de APIElias Nogueira
3.2K visualizações37 slides
Automação e virtualização de serviços por
Automação e virtualização de serviçosAutomação e virtualização de serviços
Automação e virtualização de serviçosElias Nogueira
2.2K visualizações53 slides
Usando containers com auto-escala de testes por
Usando containers com auto-escala de testesUsando containers com auto-escala de testes
Usando containers com auto-escala de testesElias Nogueira
1.1K visualizações22 slides
Coach por Imersão - Buscando a excelência técnica com o time por
Coach por Imersão - Buscando a excelência técnica com o timeCoach por Imersão - Buscando a excelência técnica com o time
Coach por Imersão - Buscando a excelência técnica com o timeElias Nogueira
881 visualizações22 slides
O Agile Coach pode (e muitas vezes deve) ser técnico por
O Agile Coach pode (e muitas vezes deve) ser técnicoO Agile Coach pode (e muitas vezes deve) ser técnico
O Agile Coach pode (e muitas vezes deve) ser técnicoElias Nogueira
714 visualizações19 slides

Mais de Elias Nogueira(20)

Criando uma arquitetura para seus testes de API com RestAssured por Elias Nogueira
Criando uma arquitetura para seus testes de API com RestAssuredCriando uma arquitetura para seus testes de API com RestAssured
Criando uma arquitetura para seus testes de API com RestAssured
Elias Nogueira2.3K visualizações
De a máxima cobertura nos seus testes de API por Elias Nogueira
De a máxima cobertura nos seus testes de APIDe a máxima cobertura nos seus testes de API
De a máxima cobertura nos seus testes de API
Elias Nogueira3.2K visualizações
Automação e virtualização de serviços por Elias Nogueira
Automação e virtualização de serviçosAutomação e virtualização de serviços
Automação e virtualização de serviços
Elias Nogueira2.2K visualizações
Usando containers com auto-escala de testes por Elias Nogueira
Usando containers com auto-escala de testesUsando containers com auto-escala de testes
Usando containers com auto-escala de testes
Elias Nogueira1.1K visualizações
Coach por Imersão - Buscando a excelência técnica com o time por Elias Nogueira
Coach por Imersão - Buscando a excelência técnica com o timeCoach por Imersão - Buscando a excelência técnica com o time
Coach por Imersão - Buscando a excelência técnica com o time
Elias Nogueira881 visualizações
O Agile Coach pode (e muitas vezes deve) ser técnico por Elias Nogueira
O Agile Coach pode (e muitas vezes deve) ser técnicoO Agile Coach pode (e muitas vezes deve) ser técnico
O Agile Coach pode (e muitas vezes deve) ser técnico
Elias Nogueira714 visualizações
Paralelize seus testes web e mobile para ter feedbacks mais rápidos por Elias Nogueira
Paralelize seus testes web e mobile para ter feedbacks mais rápidosParalelize seus testes web e mobile para ter feedbacks mais rápidos
Paralelize seus testes web e mobile para ter feedbacks mais rápidos
Elias Nogueira704 visualizações
Como 4 Agile Coaches trabalham em uma Transformação Ágil por Elias Nogueira
Como 4 Agile Coaches trabalham em uma Transformação Ágil Como 4 Agile Coaches trabalham em uma Transformação Ágil
Como 4 Agile Coaches trabalham em uma Transformação Ágil
Elias Nogueira810 visualizações
Papel do QA na Transformação Ágil por Elias Nogueira
Papel do QA na Transformação ÁgilPapel do QA na Transformação Ágil
Papel do QA na Transformação Ágil
Elias Nogueira1.2K visualizações
BDD não é automação de teste - Scrum Gathering por Elias Nogueira
BDD não é automação de teste - Scrum GatheringBDD não é automação de teste - Scrum Gathering
BDD não é automação de teste - Scrum Gathering
Elias Nogueira4.1K visualizações
Como criar e executar testes paralelos web usando Selenium e containers por Elias Nogueira
Como criar e executar testes paralelos web usando Selenium e containersComo criar e executar testes paralelos web usando Selenium e containers
Como criar e executar testes paralelos web usando Selenium e containers
Elias Nogueira3.5K visualizações
Improve Yourself -- Learn the Skills, Join the Community - Tests por Elias Nogueira
Improve Yourself -- Learn the Skills, Join the Community - TestsImprove Yourself -- Learn the Skills, Join the Community - Tests
Improve Yourself -- Learn the Skills, Join the Community - Tests
Elias Nogueira376 visualizações
Confie no seu pipeline: Teste automaticamente um aplicativo Java de ponta a p... por Elias Nogueira
Confie no seu pipeline: Teste automaticamente um aplicativo Java de ponta a p...Confie no seu pipeline: Teste automaticamente um aplicativo Java de ponta a p...
Confie no seu pipeline: Teste automaticamente um aplicativo Java de ponta a p...
Elias Nogueira1.2K visualizações
BDD não é Automação de Testes por Elias Nogueira
BDD não é Automação de TestesBDD não é Automação de Testes
BDD não é Automação de Testes
Elias Nogueira5.3K visualizações
Criando uma grid para execução de testes paralelo com Appium por Elias Nogueira
Criando uma grid para execução de testes paralelo com AppiumCriando uma grid para execução de testes paralelo com Appium
Criando uma grid para execução de testes paralelo com Appium
Elias Nogueira1.4K visualizações
Como ter sucesso ministrando uma palestra técnica por Elias Nogueira
Como ter sucesso ministrando uma palestra técnicaComo ter sucesso ministrando uma palestra técnica
Como ter sucesso ministrando uma palestra técnica
Elias Nogueira594 visualizações
Quais são os steps de que deve conter na sua pipeline? por Elias Nogueira
Quais são os steps de que deve conter na sua pipeline?Quais são os steps de que deve conter na sua pipeline?
Quais são os steps de que deve conter na sua pipeline?
Elias Nogueira391 visualizações
Tem que testar mesmo? por Elias Nogueira
Tem que testar mesmo?Tem que testar mesmo?
Tem que testar mesmo?
Elias Nogueira604 visualizações
Testes em todos os niveis de planejamento por Elias Nogueira
Testes em todos os niveis de planejamentoTestes em todos os niveis de planejamento
Testes em todos os niveis de planejamento
Elias Nogueira643 visualizações
Coaching the Agile Coach por Elias Nogueira
Coaching the Agile CoachCoaching the Agile Coach
Coaching the Agile Coach
Elias Nogueira1.2K visualizações

Último

DevsRank por
DevsRankDevsRank
DevsRankdevsrank786
10 visualizações1 slide
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... por
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Safe Software
391 visualizações59 slides
SAP FOR TYRE INDUSTRY.pdf por
SAP FOR TYRE INDUSTRY.pdfSAP FOR TYRE INDUSTRY.pdf
SAP FOR TYRE INDUSTRY.pdfVirendra Rai, PMP
19 visualizações3 slides
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove... por
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...Deltares
15 visualizações17 slides
SAP FOR CONTRACT MANUFACTURING.pdf por
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdfVirendra Rai, PMP
11 visualizações2 slides
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)... por
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...Deltares
9 visualizações34 slides

Último(20)

DevsRank por devsrank786
DevsRankDevsRank
DevsRank
devsrank78610 visualizações
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea... por Safe Software
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Geospatial Synergy: Amplifying Efficiency with FME & Esri ft. Peak Guest Spea...
Safe Software391 visualizações
SAP FOR TYRE INDUSTRY.pdf por Virendra Rai, PMP
SAP FOR TYRE INDUSTRY.pdfSAP FOR TYRE INDUSTRY.pdf
SAP FOR TYRE INDUSTRY.pdf
Virendra Rai, PMP19 visualizações
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove... por Deltares
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...
DSD-INT 2023 HydroMT model building and river-coast coupling in Python - Bove...
Deltares15 visualizações
SAP FOR CONTRACT MANUFACTURING.pdf por Virendra Rai, PMP
SAP FOR CONTRACT MANUFACTURING.pdfSAP FOR CONTRACT MANUFACTURING.pdf
SAP FOR CONTRACT MANUFACTURING.pdf
Virendra Rai, PMP11 visualizações
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)... por Deltares
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
DSD-INT 2023 Modelling litter in the Yarra and Maribyrnong Rivers (Australia)...
Deltares9 visualizações
El Arte de lo Possible por Neo4j
El Arte de lo PossibleEl Arte de lo Possible
El Arte de lo Possible
Neo4j34 visualizações
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM... por Deltares
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
DSD-INT 2023 Next-Generation Flood Inundation Mapping for Taiwan - Delft3D FM...
Deltares7 visualizações
Best Mics For Your Live Streaming por ontheflystream
Best Mics For Your Live StreamingBest Mics For Your Live Streaming
Best Mics For Your Live Streaming
ontheflystream6 visualizações
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J... por Deltares
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
DSD-INT 2023 3D hydrodynamic modelling of microplastic transport in lakes - J...
Deltares7 visualizações
Winter '24 Release Chat.pdf por melbourneauuser
Winter '24 Release Chat.pdfWinter '24 Release Chat.pdf
Winter '24 Release Chat.pdf
melbourneauuser9 visualizações
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ... por Deltares
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
DSD-INT 2023 Wave-Current Interaction at Montrose Tidal Inlet System and Its ...
Deltares9 visualizações
How to Make the Most of Regression and Unit Testing.pdf por Abhay Kumar
How to Make the Most of Regression and Unit Testing.pdfHow to Make the Most of Regression and Unit Testing.pdf
How to Make the Most of Regression and Unit Testing.pdf
Abhay Kumar10 visualizações
Tridens DevOps por Tridens
Tridens DevOpsTridens DevOps
Tridens DevOps
Tridens9 visualizações
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t... por Deltares
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
DSD-INT 2023 Thermobaricity in 3D DCSM-FM - taking pressure into account in t...
Deltares9 visualizações
Roadmap y Novedades de producto por Neo4j
Roadmap y Novedades de productoRoadmap y Novedades de producto
Roadmap y Novedades de producto
Neo4j43 visualizações
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ... por Donato Onofri
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Unmasking the Dark Art of Vectored Exception Handling: Bypassing XDR and EDR ...
Donato Onofri643 visualizações
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon por Deltares
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - AfternoonDSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
DSD-INT 2023 - Delft3D User Days - Welcome - Day 3 - Afternoon
Deltares11 visualizações
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -... por Deltares
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
DSD-INT 2023 Simulating a falling apron in Delft3D 4 - Engineering Practice -...
Deltares6 visualizações
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge... por Deltares
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
DSD-INT 2023 Delft3D FM Suite 2024.01 2D3D - New features + Improvements - Ge...
Deltares16 visualizações

Trust Your Pipeline - Automatically Testing and End-to-End Java Application

  • 1. Trust Your Pipeline: Automatically Testing an End-to-End Java Application Bruno Souza | @brjavaman Elias Nogueira | @eliasnogueira
  • 2. Different Test Levels Unit Tests Component Tests Integration Test API Test Web Mobile UI Static Analysis Code coverage Stubs Mocks Services UI Tests Visual Regression Test Test Pyramid – Focus on Automated Testing
  • 4. Different Test Levels Test Pyramid – Focus on Automated Testing Unit Tests Component Tests Integration Test API Test Web Mobile UI Machines for web execution Devices for mobile executions Servers ”mid” tests
  • 5. Continuous Delivery Development QAOperations DevOps Automated Build and DeployAutomated Provisioning Continuous Feedback Automated Testing
  • 6. Strategy focus on a Test Pipeline UNIT TEST INTEGRATION TEST SERVICE TEST ACCEPTANCE TEST FUNCTIONAL TEST MOCK SMOKE WEB MOBILE NON FUNCTIONAL TESTS SCREENSHOTS – LOGS – REPORT – DATA MANAGEMENT - PARAMETERIZED PARALLEL EXECUTION SMOKE CONTRACT FUNCTIONAL ACCEPTANCE
  • 7. REST ASSURED + JAVA SPARK (mock) REST SELENIUM WEBDRIVER WEB APPIUM with EMULATOR MOBILE REST ASSURED for test an REST endpoint SELENIUM WEBDRIVER for a Web Test (functional and acceptance) APPIUM for Mobile Test (functional and acceptance) Tool box Tools for think about test out-of-the-box
  • 8. Now it’s time to see the tools in action Example
  • 9. REST Assured RestAssured test example Sending a GET with id 1 (given) and the assert the response/results (then) Easy DSL to automating REST services that’s use Given-When-Then syntax https://github.com/jayway/rest-assured
  • 10. Selenium WebDriver Easy DSL to automating REST services that’s use Given-When-Then syntax https://seleniumhq.org Selenium automated testing example Complete example with navigation, localization, manipulation and synchronization
  • 11. Appium Tool for automated testing on native Android, iOS or Hybrid mobile apps https://appium.io Example with a pre-installed app Complete example targeting an Android platform
  • 12. Applied Pipeline We gonna show this magic! SERVICE TEST ACCEPTANCE TEST FUNCTIONAL TEST MOCK WEB MOBILE SMOKE FUNCTIONAL