SlideShare uma empresa Scribd logo
1 de 39
Baixar para ler offline
Test Pyramid vs ROI
Anton Semenchenko
Anton Semenchenko
Creator of communities www.COMAQA.BY
and www.CoreHard.by, founder of company
www.DPI.Solutions, «tricky» manager at
EPAM Systems. Almost 15 years of
experience in IT, main specialization:
Automation, С++ and lower development,
management, sales.
Anton Semenchenko
EPAM Systems, Software Testing Manager
Agenda
1. Test Pyramid: general information
2. ROI: general information
3. Two questions
4. Test Pyramid: detailed information
5. Sources of information
6. Two the same questions
7. Solution: high level information
Test Pyramid: definition
• «An effective test automation strategy calls for automating tests at three different
levels, as shown in Figure, which depicts the test automation pyramid»
Test Pyramid with percentage #1
1. UI - 5%
2. Acceptance – 5%
3. Integration – 10%
4. Unit - 80%
Test Pyramid with percentage #2
1. UI – 1%
2. End to End Flow – 4%
3. Workflow API – 6%
4. Integration – 9%
5. Domain Logic Acceptance – 10%
6. Unit – 70%
ROI: general information
Answer three simple questions:
1. How many hours do we spend currently?
2. How many hours will we spend after automation?
3. When automation will bring value?
What information should be gathered?
1. Number of test cases (for estimations)
2. Number of executions per release
3. Effort for manual execution of the test cases
ROI: general information
What should be estimated?
Implementation effort:
1. Effort to create/adopt automation framework
2. Effort to automate test cases
Maintenance effort:
1. Execution of automated scripts
2. Results analysis
3. Bug reporting
4. Fixing “broken” scripts
ROI: calculation
How many hours do we spend currently?
Manual effort per release = Effort for TC execution * number of runs per release
How many hours will we spend after automation?
Effort after automation per release = Maintenance efforts +
Effort for TC execution (non-automatable) * number of runs per release
When automation effort will bring value?
Number of Releases to invest in automation = Automation implementation effort
/ (Manual effort per release - Effort after automation per release)
Two questions (or 4 )
• Percent ??? Time  Money or amount of Test Cases?
• Pyramid  Triangle angels ???
• How to “calculate” 2 pyramids for exact project  context?
• How to “calculate” exact percentage for exact project  context?
Test Pyramid: definition
• «An effective test automation strategy calls for automating tests at three different
levels, as shown in Figure, which depicts the test automation pyramid»
Test Pyramid: Unit Testing
• «Unit testing should be the foundation of a solid test automation strategy and as
such represents the largest part of the pyramid. Automated unit tests are wonderful
because they give specific data to a programmer—there is a bug and it’s on line 47.»
• «Unit tests are usually written in the same language as the system, programmers are
often most comfortable writing them.»
Test Pyramid: Service
• «Although I refer to the middle layer of the test automation pyramid as the service
layer, I am not restricting us to using only a service-oriented architecture. All
applications are made up of various services. In the way I’m using it, a service is
something the application does in response to some input or set of inputs.»
• «Service-level testing is about testing the services of an application separately from its
user interface.»
Test Pyramid: Service - Calculator example
• «What’s needed next is a simple program that can read the rows of this spreadsheet,
pass the data columns to the right service within your application, and verify that the
right results occur. Despite this simplistic example where the result is simple
calculation, the result could be anything—data updated in the database, an e-mail
sent to a specific recipient, money transferred between bank accounts, and so on.»
Test Pyramid: UI
• «Automated user interface testing is placed at the top of the test automation
pyramid because we want to do as little of it as possible.»
• «User interface tests often have the following negative attributes:
• Brittle. A small change in the user interface can break many tests. When this is repeated many
times over the course of a project, teams simply give up and stop correcting tests every time
the user interface changes.
• Expensive to write. A quick capture-and-playback approach to recording user interface tests
can work, but tests recorded this way are usually the most brittle. Writing a good user interface
test that will remain useful and valid takes time.
• Time consuming. Tests run through the user interface often take a long time to run. I’ve seen
numerous teams with impressive suites of automated user interface tests that take so long to
run they cannot be run every night, much less multiple times per day.»
The remaining role of user Interface Tests
• “But don’t we need to do some user interface testing? Absolutely, but far less of it than any
other test type.
• Instead, we run the majority of tests (such as boundary tests) through the service layer,
invoking the methods (services) directly to confirm that the functionality is working properly.
At the user interface level what’s left is testing to confirm that the services are hooked up to
the right buttons and that the values are displaying properly in the result field. To do this we
need a much smaller set of tests to run through the user interface layer.
• Where many organizations have gone wrong in their test automation efforts over the years
has been in ignoring this whole middle layer of service testing. Although automated unit
testing is wonderful, it can cover only so much of an application’s testing needs. Without
service-level testing to fill the gap between unit and user interface testing, all other testing
ends up being performed through the user interface, resulting in tests that are expensive to
run, expensive to write, and brittle”
Automate Within the Sprint
Find a balance 
Sources of information: 2 poles
• “Succeeding with Agile: Software Development Using Scrum” by Mike Cohn
• “Хабрахабр”
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть” (#3)
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть, SQA Days-15” (#2)
• “Хабрахабр”
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть” (#1)
Two the same questions
• Percent ??? Time  Money or amount of Test Cases?
• Pyramid  Triangle angels ???
• How to “calculate” 2 pyramids for exact project  context?
• How to “calculate” exact percentage for exact project  context?
Solution
• Adapt ROI Calculator for you project  context
• Calculate ROI to “build” 2 Test pyramids
ROI Factors?
ROI factors ???
ROI factors
Name Definition Impact
“run” per Release How many times TC should be “run” per Release +
“envs” How many “envs” should be covered +
“updated” per Release How many times TC should be “updated” per Release -
“write” t$ to “write” TC -
“develop” t$ to “develop” TC -
“update” t$ to “update” TC -
“prepare” env t$ to “prepare” env for TC run -
“run” t$ to “run” TC -
“analyze” t$ to “analyze” Test Result -
“locate” t$ to “locate” defect -
“fix” t$ to “fix” defect -
Haven't we forgotten anything?
+1 more factor
Business Needs
Needs 
Examples
• Facebook, Bamboo
• Head hunter
• Microsoft
• Military related software (Data Protection solution for US Army)
Haven't we forgotten anything?
+1 more factor
Business Risks
Risks 
Examples
• A huge set of projects for Siemens
• Data Protection Systems: granular Back-up  Restore plug-ins
• Back-end “oriented” software
Automation tests types #1
1. UI - 5%
2. Acceptance – 5%
3. Integration – 10%
4. Unit - 80%
ROI factors
Name Definition Impact
“run” per Release How many times TC should be “run” per Release +
“envs” How many “envs” should be covered +
“updated” per Release How many times TC should be “updated” per Release -
“write” t$ to “write” TC -
“develop” t$ to “develop” TC -
“update” t$ to “update” TC -
“prepare” env t$ to “prepare” env for TC run -
“run” t$ to “run” TC -
“analyze” t$ to “analyze” Test Result -
“locate” t$ to “locate” defect -
“fix” t$ to “fix” defect -
Testing types “comparative analysis”
Factor Unit Integration Acceptance UI
“run” per Release + +- - -
“envs” - +- + +
“updated” per
Release
- +- -+ -
“write” + +- - -
“develop” + +- - -
“update” + +- - -
“prepare” env + +- - -
“run” + +- +- -
“analyze” + +- -+ -
“locate” + +- - -
“fix” + +- - -
Automation tests types #2
1. UI – 1%
2. End to End Flow – 4%
3. Workflow API – 6%
4. Integration – 9%
5. Domain Logic Acceptance – 10%
6. Unit – 70%
Sources of information: refresh
• “Succeeding with Agile: Software Development Using Scrum” by Mike Cohn
• “Хабрахабр”
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть” (#3)
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть, SQA Days-15” (#2)
• “Хабрахабр”
• Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем
суть” (#1)
ROI Calculator: refresh
• ISKRA Антон Семенченко «Метрики в тестировании»
• SQA Days 16. Доклад Антона Семенченко о продаже автоматизированного тестирования
• SQA Days 15 Антон Семенченко. Как эффективно организовать Автоматизацию, если у вас недостаточно
времени, ресурсов и денег
• Solit 2014. Антон Семенченко. "Как эффективно продавать Automation Service“
• Solit 2014. Антон Семенченко. "Как эффективно организовать Автоматизацию”
• Антон Семенченко: «Эволюция тестового окружения»
• Антон Семенченко: «Автоматизированное тестирование переживает взрывное развитие»
• Антон Семенченко: «Как автоматизатору не оказаться за бортом эволюции»
• TMPA-2015. Антон Семенченко. Automated testing: yesterday, today, tomorrow – the vectors of
development
• SECR 2016. Антон Семенченко. Метрики в тестировании – практика использования в СНГ
CONTACT ME
semenchenko@dpi.solutions
dpi.semenchenko
https://www.linkedin.com/in/anton-semenchenko-612a926b
https://www.facebook.com/semenchenko.anton.v
https://twitter.com/comaqa
www.COMAQA.BY
Community’s audience
Testing specialists (manual and automated)
Automation tools developers
Managers and sales specialists in IT
IT-specialists, thinking about migrating to automation
Students looking for perspective profession.
Community goals
Create unified space for effective communication for all IT-specialists in the context of automated testing.
Your profit
Ability to listen to reports from leading IT-specialists and share your experience.
Take part in «promo»-versions of top IT-conferences in CIS for free.
Meet regularly, at different forums, community «offices», social networks and messengers.
www.COMAQA.BY
info@comaqa.by
https://www.facebook.com/comaqa.by/
http://vk.com/comaqaby
+375 33 33 46 120
+375 44 74 00 385
www.CoreHard.by
Community’s audience
«Harsh» С++ developers & co, IoT, BigData, High Load, Parallel Computing
Automation tools developers
Managers and sales specialists in IT
Students looking for perspective profession.
Community goals
Create unified space for effective communication for all IT-specialists in the context of «harsh»
development.
Your profit
Ability to listen to reports from leading IT-specialists and share your experience.
Take part in «promo»-versions of top IT-conferences in CIS for free.
Meet regularly, at different forums, community «offices», social networks and messengers.
www.CoreHard.by
info@corehard.by
https://www.facebook.com/corehard.by/
+375 33 33 46 120
+375 44 74 00 385

Mais conteúdo relacionado

Mais procurados

CRO and Vendor Oversight: Clinical
CRO and Vendor Oversight: ClinicalCRO and Vendor Oversight: Clinical
CRO and Vendor Oversight: ClinicalManjusha Chowdhury
 
Logistics operations manager kpi
Logistics operations manager kpiLogistics operations manager kpi
Logistics operations manager kpinirasfogen
 
A/B Testing for New Product Launches by Booking.com Sr PM
A/B Testing for New Product Launches by Booking.com Sr PMA/B Testing for New Product Launches by Booking.com Sr PM
A/B Testing for New Product Launches by Booking.com Sr PMProduct School
 
Kpi for administration department
Kpi for administration departmentKpi for administration department
Kpi for administration departmentvulapallidavis
 
Junior accountant kpi
Junior accountant kpiJunior accountant kpi
Junior accountant kpidavivante
 
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself pixahulo30601
 
Bank ceo kpi
Bank ceo kpiBank ceo kpi
Bank ceo kpirewitfuni
 
10 tips for a successful continuous improvement
10 tips for a successful continuous improvement10 tips for a successful continuous improvement
10 tips for a successful continuous improvementgianarosetti
 
Assistant project manager kpi
Assistant project manager kpiAssistant project manager kpi
Assistant project manager kpikettarit
 
New drugs and Clinical Trials Rule in india 2019
New drugs and Clinical Trials Rule in india 2019New drugs and Clinical Trials Rule in india 2019
New drugs and Clinical Trials Rule in india 2019Arya V Devi
 

Mais procurados (12)

CRO and Vendor Oversight: Clinical
CRO and Vendor Oversight: ClinicalCRO and Vendor Oversight: Clinical
CRO and Vendor Oversight: Clinical
 
Logistics operations manager kpi
Logistics operations manager kpiLogistics operations manager kpi
Logistics operations manager kpi
 
A/B Testing for New Product Launches by Booking.com Sr PM
A/B Testing for New Product Launches by Booking.com Sr PMA/B Testing for New Product Launches by Booking.com Sr PM
A/B Testing for New Product Launches by Booking.com Sr PM
 
Kpi for administration department
Kpi for administration departmentKpi for administration department
Kpi for administration department
 
Preclinical trials
Preclinical trialsPreclinical trials
Preclinical trials
 
Junior accountant kpi
Junior accountant kpiJunior accountant kpi
Junior accountant kpi
 
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself
Clockwork PDF - Mike Michalowicz Design Your Business to Run Itself
 
Bank ceo kpi
Bank ceo kpiBank ceo kpi
Bank ceo kpi
 
10 tips for a successful continuous improvement
10 tips for a successful continuous improvement10 tips for a successful continuous improvement
10 tips for a successful continuous improvement
 
Bholakant Raut
Bholakant RautBholakant Raut
Bholakant Raut
 
Assistant project manager kpi
Assistant project manager kpiAssistant project manager kpi
Assistant project manager kpi
 
New drugs and Clinical Trials Rule in india 2019
New drugs and Clinical Trials Rule in india 2019New drugs and Clinical Trials Rule in india 2019
New drugs and Clinical Trials Rule in india 2019
 

Destaque

ScreenPlay Design Patterns for QA Automation
ScreenPlay Design Patterns for QA AutomationScreenPlay Design Patterns for QA Automation
ScreenPlay Design Patterns for QA AutomationCOMAQA.BY
 
Business requirements analysis during Production release
Business requirements analysis during Production releaseBusiness requirements analysis during Production release
Business requirements analysis during Production releaseCOMAQA.BY
 
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...Heuristics, mnemonics and other Greek words in the exploratory testing of mob...
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...COMAQA.BY
 
A journey beyond the page object pattern
A journey beyond the page object patternA journey beyond the page object pattern
A journey beyond the page object patternRiverGlide
 
Automating Canvas: difficult but possible
Automating Canvas: difficult but possibleAutomating Canvas: difficult but possible
Automating Canvas: difficult but possibleCOMAQA.BY
 
Advanced locators - little prince
Advanced locators - little princeAdvanced locators - little prince
Advanced locators - little princeCOMAQA.BY
 
Out of box page object design pattern, java
Out of box page object design pattern, javaOut of box page object design pattern, java
Out of box page object design pattern, javaCOMAQA.BY
 
Пирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрияПирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрияSQALab
 

Destaque (8)

ScreenPlay Design Patterns for QA Automation
ScreenPlay Design Patterns for QA AutomationScreenPlay Design Patterns for QA Automation
ScreenPlay Design Patterns for QA Automation
 
Business requirements analysis during Production release
Business requirements analysis during Production releaseBusiness requirements analysis during Production release
Business requirements analysis during Production release
 
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...Heuristics, mnemonics and other Greek words in the exploratory testing of mob...
Heuristics, mnemonics and other Greek words in the exploratory testing of mob...
 
A journey beyond the page object pattern
A journey beyond the page object patternA journey beyond the page object pattern
A journey beyond the page object pattern
 
Automating Canvas: difficult but possible
Automating Canvas: difficult but possibleAutomating Canvas: difficult but possible
Automating Canvas: difficult but possible
 
Advanced locators - little prince
Advanced locators - little princeAdvanced locators - little prince
Advanced locators - little prince
 
Out of box page object design pattern, java
Out of box page object design pattern, javaOut of box page object design pattern, java
Out of box page object design pattern, java
 
Пирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрияПирамида Тестирования через призму ROI калькулятора и прочая геометрия
Пирамида Тестирования через призму ROI калькулятора и прочая геометрия
 

Semelhante a Test Pyramid vs Roi

Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Applitools
 
Top 7 Mistakes in Performance Testing
Top 7 Mistakes in Performance TestingTop 7 Mistakes in Performance Testing
Top 7 Mistakes in Performance Testingstuartmoncrieff
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverQA or the Highway
 
Preparing for Enterprise Continuous Delivery - 5 Critical Steps
Preparing for Enterprise Continuous Delivery - 5 Critical StepsPreparing for Enterprise Continuous Delivery - 5 Critical Steps
Preparing for Enterprise Continuous Delivery - 5 Critical StepsXebiaLabs
 
Serverless in production, an experience report (London DevOps)
Serverless in production, an experience report (London DevOps)Serverless in production, an experience report (London DevOps)
Serverless in production, an experience report (London DevOps)Yan Cui
 
Guidelines to Measuring Test Automation ROI
 Guidelines to Measuring Test Automation ROI Guidelines to Measuring Test Automation ROI
Guidelines to Measuring Test Automation ROIPerfecto by Perforce
 
AWS Lambda from the trenches (Serverless London)
AWS Lambda from the trenches (Serverless London)AWS Lambda from the trenches (Serverless London)
AWS Lambda from the trenches (Serverless London)Yan Cui
 
Continuous delivery @wcap 5-09-2013
Continuous delivery   @wcap 5-09-2013Continuous delivery   @wcap 5-09-2013
Continuous delivery @wcap 5-09-2013David Funaro
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardTechWell
 
Code instrumentation
Code instrumentationCode instrumentation
Code instrumentationMennan Tekbir
 
When is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWWhen is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWMike Christesen
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools OverviewMurageppa-QA
 
Automation testing
Automation testingAutomation testing
Automation testingArta Doci
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lessonSadaaki Emura
 
A Declarative Approach for Performance Tests Execution in Continuous Software...
A Declarative Approach for Performance Tests Execution in Continuous Software...A Declarative Approach for Performance Tests Execution in Continuous Software...
A Declarative Approach for Performance Tests Execution in Continuous Software...Vincenzo Ferme
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingPerfecto by Perforce
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Shelley Lambert
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005David O'Dowd
 
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)Domas Lasauskas
 

Semelhante a Test Pyramid vs Roi (20)

Qtp - Introduction values
Qtp - Introduction valuesQtp - Introduction values
Qtp - Introduction values
 
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...Building a Complete Pipeline: The Essential Components of Continuous Testing ...
Building a Complete Pipeline: The Essential Components of Continuous Testing ...
 
Top 7 Mistakes in Performance Testing
Top 7 Mistakes in Performance TestingTop 7 Mistakes in Performance Testing
Top 7 Mistakes in Performance Testing
 
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas HaverThe Automation Firehose: Be Strategic and Tactical by Thomas Haver
The Automation Firehose: Be Strategic and Tactical by Thomas Haver
 
Preparing for Enterprise Continuous Delivery - 5 Critical Steps
Preparing for Enterprise Continuous Delivery - 5 Critical StepsPreparing for Enterprise Continuous Delivery - 5 Critical Steps
Preparing for Enterprise Continuous Delivery - 5 Critical Steps
 
Serverless in production, an experience report (London DevOps)
Serverless in production, an experience report (London DevOps)Serverless in production, an experience report (London DevOps)
Serverless in production, an experience report (London DevOps)
 
Guidelines to Measuring Test Automation ROI
 Guidelines to Measuring Test Automation ROI Guidelines to Measuring Test Automation ROI
Guidelines to Measuring Test Automation ROI
 
AWS Lambda from the trenches (Serverless London)
AWS Lambda from the trenches (Serverless London)AWS Lambda from the trenches (Serverless London)
AWS Lambda from the trenches (Serverless London)
 
Continuous delivery @wcap 5-09-2013
Continuous delivery   @wcap 5-09-2013Continuous delivery   @wcap 5-09-2013
Continuous delivery @wcap 5-09-2013
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
 
Code instrumentation
Code instrumentationCode instrumentation
Code instrumentation
 
When is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEWWhen is a project ready for Software Automation_NEW
When is a project ready for Software Automation_NEW
 
Automation Tools Overview
Automation Tools OverviewAutomation Tools Overview
Automation Tools Overview
 
Automation testing
Automation testingAutomation testing
Automation testing
 
Test automation lesson
Test automation lessonTest automation lesson
Test automation lesson
 
A Declarative Approach for Performance Tests Execution in Continuous Software...
A Declarative Approach for Performance Tests Execution in Continuous Software...A Declarative Approach for Performance Tests Execution in Continuous Software...
A Declarative Approach for Performance Tests Execution in Continuous Software...
 
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web TestingThe Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
The Automation Firehose: Be Strategic & Tactical With Your Mobile & Web Testing
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
Susan windsor soft test 16th november 2005
Susan windsor soft test   16th november 2005Susan windsor soft test   16th november 2005
Susan windsor soft test 16th november 2005
 
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
Serverless in production, an experience report (Going Serverless, 28 Feb 2018)
 

Mais de COMAQA.BY

Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...
Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...
Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...COMAQA.BY
 
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...COMAQA.BY
 
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...COMAQA.BY
 
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важность
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важностьRoman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важность
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важностьCOMAQA.BY
 
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...COMAQA.BY
 
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...COMAQA.BY
 
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...COMAQA.BY
 
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...COMAQA.BY
 
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.COMAQA.BY
 
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.COMAQA.BY
 
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...COMAQA.BY
 
Моя роль в конфликте
Моя роль в конфликтеМоя роль в конфликте
Моя роль в конфликтеCOMAQA.BY
 
Организация приемочного тестирования силами матерых тестировщиков
Организация приемочного тестирования силами матерых тестировщиковОрганизация приемочного тестирования силами матерых тестировщиков
Организация приемочного тестирования силами матерых тестировщиковCOMAQA.BY
 
Развитие или смерть
Развитие или смертьРазвитие или смерть
Развитие или смертьCOMAQA.BY
 
Системный взгляд на параллельный запуск Selenium тестов
Системный взгляд на параллельный запуск Selenium тестовСистемный взгляд на параллельный запуск Selenium тестов
Системный взгляд на параллельный запуск Selenium тестовCOMAQA.BY
 
Эффективная работа с рутинными задачами
Эффективная работа с рутинными задачамиЭффективная работа с рутинными задачами
Эффективная работа с рутинными задачамиCOMAQA.BY
 
Как стать синьором
Как стать синьоромКак стать синьором
Как стать синьоромCOMAQA.BY
 
Open your mind for OpenSource
Open your mind for OpenSourceOpen your mind for OpenSource
Open your mind for OpenSourceCOMAQA.BY
 
JDI 2.0. Not only UI testing
JDI 2.0. Not only UI testingJDI 2.0. Not only UI testing
JDI 2.0. Not only UI testingCOMAQA.BY
 
Out of box page object design pattern, java
Out of box page object design pattern, javaOut of box page object design pattern, java
Out of box page object design pattern, javaCOMAQA.BY
 

Mais de COMAQA.BY (20)

Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...
Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...
Тестирование аналогов инсталлируемых приложений (Android Instant Apps, Progre...
 
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...
Anton semenchenko. Comaqa Spring 2018. Nine circles of hell. Antipatterns in ...
 
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...
Vivien Ibironke Ibiyemi. Comaqa Spring 2018. Enhance your Testing Skills With...
 
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важность
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важностьRoman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важность
Roman Soroka. Comaqa Spring 2018. Глобальный обзор процесса QA и его важность
 
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
Roman Iovlev. Comaqa Spring 2018. Архитектура Open Source решений для автомат...
 
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...
Vladimir Polyakov. Comaqa Spring 2018. Особенности тестирования ПО в предметн...
 
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...
Kimmo Hakala. Comaqa Spring 2018. Challenges and good QA practices in softwar...
 
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
Дмитрий Лемешко. Comaqa Spring 2018. Continuous mobile automation in build pi...
 
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
Ivan Katunov. Comaqa Spring 2018. Test Design and Automation for Rest API.
 
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.
Vadim Zubovich. Comaqa Spring 2018. Красивое тестирование производительности.
 
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...
Alexander Andelkovic. Comaqa Spring 2018. Using Artificial Intelligence to Te...
 
Моя роль в конфликте
Моя роль в конфликтеМоя роль в конфликте
Моя роль в конфликте
 
Организация приемочного тестирования силами матерых тестировщиков
Организация приемочного тестирования силами матерых тестировщиковОрганизация приемочного тестирования силами матерых тестировщиков
Организация приемочного тестирования силами матерых тестировщиков
 
Развитие или смерть
Развитие или смертьРазвитие или смерть
Развитие или смерть
 
Системный взгляд на параллельный запуск Selenium тестов
Системный взгляд на параллельный запуск Selenium тестовСистемный взгляд на параллельный запуск Selenium тестов
Системный взгляд на параллельный запуск Selenium тестов
 
Эффективная работа с рутинными задачами
Эффективная работа с рутинными задачамиЭффективная работа с рутинными задачами
Эффективная работа с рутинными задачами
 
Как стать синьором
Как стать синьоромКак стать синьором
Как стать синьором
 
Open your mind for OpenSource
Open your mind for OpenSourceOpen your mind for OpenSource
Open your mind for OpenSource
 
JDI 2.0. Not only UI testing
JDI 2.0. Not only UI testingJDI 2.0. Not only UI testing
JDI 2.0. Not only UI testing
 
Out of box page object design pattern, java
Out of box page object design pattern, javaOut of box page object design pattern, java
Out of box page object design pattern, java
 

Último

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 

Último (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 

Test Pyramid vs Roi

  • 1. Test Pyramid vs ROI Anton Semenchenko
  • 2. Anton Semenchenko Creator of communities www.COMAQA.BY and www.CoreHard.by, founder of company www.DPI.Solutions, «tricky» manager at EPAM Systems. Almost 15 years of experience in IT, main specialization: Automation, С++ and lower development, management, sales. Anton Semenchenko EPAM Systems, Software Testing Manager
  • 3. Agenda 1. Test Pyramid: general information 2. ROI: general information 3. Two questions 4. Test Pyramid: detailed information 5. Sources of information 6. Two the same questions 7. Solution: high level information
  • 4. Test Pyramid: definition • «An effective test automation strategy calls for automating tests at three different levels, as shown in Figure, which depicts the test automation pyramid»
  • 5. Test Pyramid with percentage #1 1. UI - 5% 2. Acceptance – 5% 3. Integration – 10% 4. Unit - 80%
  • 6. Test Pyramid with percentage #2 1. UI – 1% 2. End to End Flow – 4% 3. Workflow API – 6% 4. Integration – 9% 5. Domain Logic Acceptance – 10% 6. Unit – 70%
  • 7. ROI: general information Answer three simple questions: 1. How many hours do we spend currently? 2. How many hours will we spend after automation? 3. When automation will bring value? What information should be gathered? 1. Number of test cases (for estimations) 2. Number of executions per release 3. Effort for manual execution of the test cases
  • 8. ROI: general information What should be estimated? Implementation effort: 1. Effort to create/adopt automation framework 2. Effort to automate test cases Maintenance effort: 1. Execution of automated scripts 2. Results analysis 3. Bug reporting 4. Fixing “broken” scripts
  • 9. ROI: calculation How many hours do we spend currently? Manual effort per release = Effort for TC execution * number of runs per release How many hours will we spend after automation? Effort after automation per release = Maintenance efforts + Effort for TC execution (non-automatable) * number of runs per release When automation effort will bring value? Number of Releases to invest in automation = Automation implementation effort / (Manual effort per release - Effort after automation per release)
  • 10. Two questions (or 4 ) • Percent ??? Time Money or amount of Test Cases? • Pyramid Triangle angels ??? • How to “calculate” 2 pyramids for exact project context? • How to “calculate” exact percentage for exact project context?
  • 11. Test Pyramid: definition • «An effective test automation strategy calls for automating tests at three different levels, as shown in Figure, which depicts the test automation pyramid»
  • 12. Test Pyramid: Unit Testing • «Unit testing should be the foundation of a solid test automation strategy and as such represents the largest part of the pyramid. Automated unit tests are wonderful because they give specific data to a programmer—there is a bug and it’s on line 47.» • «Unit tests are usually written in the same language as the system, programmers are often most comfortable writing them.»
  • 13. Test Pyramid: Service • «Although I refer to the middle layer of the test automation pyramid as the service layer, I am not restricting us to using only a service-oriented architecture. All applications are made up of various services. In the way I’m using it, a service is something the application does in response to some input or set of inputs.» • «Service-level testing is about testing the services of an application separately from its user interface.»
  • 14. Test Pyramid: Service - Calculator example • «What’s needed next is a simple program that can read the rows of this spreadsheet, pass the data columns to the right service within your application, and verify that the right results occur. Despite this simplistic example where the result is simple calculation, the result could be anything—data updated in the database, an e-mail sent to a specific recipient, money transferred between bank accounts, and so on.»
  • 15. Test Pyramid: UI • «Automated user interface testing is placed at the top of the test automation pyramid because we want to do as little of it as possible.» • «User interface tests often have the following negative attributes: • Brittle. A small change in the user interface can break many tests. When this is repeated many times over the course of a project, teams simply give up and stop correcting tests every time the user interface changes. • Expensive to write. A quick capture-and-playback approach to recording user interface tests can work, but tests recorded this way are usually the most brittle. Writing a good user interface test that will remain useful and valid takes time. • Time consuming. Tests run through the user interface often take a long time to run. I’ve seen numerous teams with impressive suites of automated user interface tests that take so long to run they cannot be run every night, much less multiple times per day.»
  • 16. The remaining role of user Interface Tests • “But don’t we need to do some user interface testing? Absolutely, but far less of it than any other test type. • Instead, we run the majority of tests (such as boundary tests) through the service layer, invoking the methods (services) directly to confirm that the functionality is working properly. At the user interface level what’s left is testing to confirm that the services are hooked up to the right buttons and that the values are displaying properly in the result field. To do this we need a much smaller set of tests to run through the user interface layer. • Where many organizations have gone wrong in their test automation efforts over the years has been in ignoring this whole middle layer of service testing. Although automated unit testing is wonderful, it can cover only so much of an application’s testing needs. Without service-level testing to fill the gap between unit and user interface testing, all other testing ends up being performed through the user interface, resulting in tests that are expensive to run, expensive to write, and brittle”
  • 17. Automate Within the Sprint Find a balance 
  • 18. Sources of information: 2 poles • “Succeeding with Agile: Software Development Using Scrum” by Mike Cohn • “Хабрахабр” • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть” (#3) • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть, SQA Days-15” (#2) • “Хабрахабр” • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть” (#1)
  • 19. Two the same questions • Percent ??? Time Money or amount of Test Cases? • Pyramid Triangle angels ??? • How to “calculate” 2 pyramids for exact project context? • How to “calculate” exact percentage for exact project context?
  • 20. Solution • Adapt ROI Calculator for you project context • Calculate ROI to “build” 2 Test pyramids
  • 22. ROI factors Name Definition Impact “run” per Release How many times TC should be “run” per Release + “envs” How many “envs” should be covered + “updated” per Release How many times TC should be “updated” per Release - “write” t$ to “write” TC - “develop” t$ to “develop” TC - “update” t$ to “update” TC - “prepare” env t$ to “prepare” env for TC run - “run” t$ to “run” TC - “analyze” t$ to “analyze” Test Result - “locate” t$ to “locate” defect - “fix” t$ to “fix” defect -
  • 23. Haven't we forgotten anything? +1 more factor
  • 25. Examples • Facebook, Bamboo • Head hunter • Microsoft • Military related software (Data Protection solution for US Army)
  • 26. Haven't we forgotten anything? +1 more factor
  • 28. Examples • A huge set of projects for Siemens • Data Protection Systems: granular Back-up Restore plug-ins • Back-end “oriented” software
  • 29. Automation tests types #1 1. UI - 5% 2. Acceptance – 5% 3. Integration – 10% 4. Unit - 80%
  • 30. ROI factors Name Definition Impact “run” per Release How many times TC should be “run” per Release + “envs” How many “envs” should be covered + “updated” per Release How many times TC should be “updated” per Release - “write” t$ to “write” TC - “develop” t$ to “develop” TC - “update” t$ to “update” TC - “prepare” env t$ to “prepare” env for TC run - “run” t$ to “run” TC - “analyze” t$ to “analyze” Test Result - “locate” t$ to “locate” defect - “fix” t$ to “fix” defect -
  • 31. Testing types “comparative analysis” Factor Unit Integration Acceptance UI “run” per Release + +- - - “envs” - +- + + “updated” per Release - +- -+ - “write” + +- - - “develop” + +- - - “update” + +- - - “prepare” env + +- - - “run” + +- +- - “analyze” + +- -+ - “locate” + +- - - “fix” + +- - -
  • 32. Automation tests types #2 1. UI – 1% 2. End to End Flow – 4% 3. Workflow API – 6% 4. Integration – 9% 5. Domain Logic Acceptance – 10% 6. Unit – 70%
  • 33. Sources of information: refresh • “Succeeding with Agile: Software Development Using Scrum” by Mike Cohn • “Хабрахабр” • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть” (#3) • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть, SQA Days-15” (#2) • “Хабрахабр” • Игорь Хрол: “Автоматизация тестирования: отбрасываем лишнее и проверяем суть” (#1)
  • 34. ROI Calculator: refresh • ISKRA Антон Семенченко «Метрики в тестировании» • SQA Days 16. Доклад Антона Семенченко о продаже автоматизированного тестирования • SQA Days 15 Антон Семенченко. Как эффективно организовать Автоматизацию, если у вас недостаточно времени, ресурсов и денег • Solit 2014. Антон Семенченко. "Как эффективно продавать Automation Service“ • Solit 2014. Антон Семенченко. "Как эффективно организовать Автоматизацию” • Антон Семенченко: «Эволюция тестового окружения» • Антон Семенченко: «Автоматизированное тестирование переживает взрывное развитие» • Антон Семенченко: «Как автоматизатору не оказаться за бортом эволюции» • TMPA-2015. Антон Семенченко. Automated testing: yesterday, today, tomorrow – the vectors of development • SECR 2016. Антон Семенченко. Метрики в тестировании – практика использования в СНГ
  • 36. www.COMAQA.BY Community’s audience Testing specialists (manual and automated) Automation tools developers Managers and sales specialists in IT IT-specialists, thinking about migrating to automation Students looking for perspective profession. Community goals Create unified space for effective communication for all IT-specialists in the context of automated testing. Your profit Ability to listen to reports from leading IT-specialists and share your experience. Take part in «promo»-versions of top IT-conferences in CIS for free. Meet regularly, at different forums, community «offices», social networks and messengers.
  • 38. www.CoreHard.by Community’s audience «Harsh» С++ developers & co, IoT, BigData, High Load, Parallel Computing Automation tools developers Managers and sales specialists in IT Students looking for perspective profession. Community goals Create unified space for effective communication for all IT-specialists in the context of «harsh» development. Your profit Ability to listen to reports from leading IT-specialists and share your experience. Take part in «promo»-versions of top IT-conferences in CIS for free. Meet regularly, at different forums, community «offices», social networks and messengers.