SlideShare a Scribd company logo
1 of 51
Download to read offline
Copyright © 2011 - 2015 Ethan Huang1
Make Less Trouble
by having a good agile testing strategy
Copyright © 2011 - 2015 Ethan Huang2
Ethan Huang
cn.linkedin.com/in/ethancst
me@ethanhuang.net
WeChat: ethanhuang0922
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
#define Testing
3
Copyright © 2011 - 2014 Ethan Huang
The more bugs testers find, 

the more value they provide.

Y/N?
Copyright © 2011 - 2015 Ethan Huang5
V-model & Waterfall
Requirement	Analysis
System	Architecture
Design
Coding Unit	Tes:ng
Integra:on	Tes:ng
System	Tes:ng
Acceptance	Tes:ng
Copyright © 2011 - 2015 Ethan Huang
IT DOESN’ WORK
6
BECAUSE …
Copyright © 2011 - 2015 Ethan Huang
DO THINGS RIGHT
THE
FIRST TIME!
7
Philip	B.	Crosby,	“Zero	Defects”	and	“Right	First	Time”
Copyright © 2011 - 2015 Ethan Huang8
Best timing to prevent defects?
Requirement
Analysis
System
Architecture
Design
Coding
codecheck-in
UnitTestingIntegration
Testing
SystemTestingAcceptance
Testing
Copyright © 2011 - 2015 Ethan Huang
STOP playing the
Go-Find-The-Bug game,
BUILD quality in!
9
Copyright © 2011 - 2015 Ethan Huang
AGILE TESTING -
The Underlying Principles
10
Copyright © 2011 - 2015 Ethan Huang
WE NEVER COMPROMISE ON QUALITY
11
Copyright © 2011 - 2015 Ethan Huang
WHOLE TEAM TESTING
12
Copyright © 2011 - 2015 Ethan Huang
TEST IMMEDIATELY
13
Testing is no longer an end-of-project phase;
it is embedded into development activities
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Set a quality goal
14
Copyright © 2011 - 2015 Ethan Huang
Good quality
vs.
Good ENOUGH Quality
15
Copyright © 2011 - 2015 Ethan Huang
Definition of Done/Quality Standard
&
Trusted Zone/Environment
16
Copyright © 2011 - 2015 Ethan Huang
Case Study
DoD/Trusted Zone for the Titan team:
17
1. Unit Test line coverage >= 80%, Dev Env
2. Automated Functional Testing coverage >= 60%, Dev + QA Env
3. Manual Functional Testing coverage = 100%, UAT Env
Copyright © 2011 - 2015 Ethan Huang
Over testing
18
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Re-define Testing Activities
19
Copyright © 2011 - 2015 Ethan Huang
The Testing Pyramid* in Waterfall
20
Unit
Testing
Integration
Testing
Functional/System
Testing
* Mike Cohn, Succeeding with Agile
Copyright © 2011 - 2015 Ethan Huang
The Testing Pyramid in Agile
21
Unit
Testing
Interface
Testing
Functional/System
Testing
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Unit Testing
22
Copyright © 2011 - 2015 Ethan Huang
Case Study
The Tiger Team is working on some critical feature with a
very tight schedule. In order to deliver on-time they
decided to finish coding first, fix all known bugs, then add
Unit Tests to reach 80% line coverage
23
Copyright © 2011 - 2015 Ethan Huang24
Coding
Testing/
Bug
Unit Testing
Check-in
& Build
Copyright © 2011 - 2015 Ethan Huang
Do Unit Testing afterwords
25
Copyright © 2011 - 2015 Ethan Huang
Case Study
The SpiderMan team is very proud of their high code coverage
- they always make sure they have at least 85% line coverage.
One day the Product Owner was so curious about what those
numbers mean, that she asked them to click into the red
bars…
26
Copyright © 2011 - 2015 Ethan Huang27
Copyright © 2011 - 2015 Ethan Huang
Test for coverage
28
Copyright © 2011 - 2015 Ethan Huang
TDD
29
Copyright © 2011 - 2015 Ethan Huang
Or, at least,
do Unit Test immediately
30
Copyright © 2011 - 2015 Ethan Huang
Small bites:
write a little code,
then do a little testing
before check-in
31
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Integration Testing
32
Copyright © 2011 - 2015 Ethan Huang
Case Study
Team A, B and C are working on 3 components which are
having dependencies between each other. They have to
adjust their schedule to accommodate each other.
33
Copyright © 2011 - 2015 Ethan Huang
Still waterfall …
34
Integration
Integration
Testing
Functional
Testing
Sprint	1 Sprint	2
Component	1	
TDD	+	CI	+	Test	Automa:on
Scrum Team A
Component	2	
TDD	+	CI	+	Test	Automa:on
Scrum Team B
Component	3	
TDD	+	CI	+	Test	Automa:on
Scrum Team C
Dependency
Dependency
Copyright © 2011 - 2015 Ethan Huang
Integration Test Driven Development
35
Mockbased
IntegrationTesting
Sprint	1
Component	1	
Feature	1
Scrum Team A
Component	2	
Feature	1
Component	3	
Feature	1
Decouple
Dependencies
Component	1	
Feature	2
Component	2	
Feature	2
Component	3	
Feature	2
Component	1	
Feature	3
Component	2	
Feature	3
Component	3	
Feature	3
Scrum Team B
Scrum Team C
Second Tier CI
Integration
+ End-to-End
Functional Testing
Integration
+ End-to-End
Functional Testing
Integration
+ End-to-End
Functional Testing
Copyright © 2011 - 2015 Ethan Huang
CI only within single teams
36
Copyright © 2011 - 2015 Ethan Huang
Second tier CI
(CI Pipeline)
37
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Functional Testing
38
Copyright © 2011 - 2015 Ethan Huang
Case Study
0.001 - 0.999
This tolerance logic has been covered by Unit Testing +
Service Testing + Functional Testing
39
Copyright © 2011 - 2015 Ethan Huang
Duplicated Testing Effort
40
Copyright © 2011 - 2015 Ethan Huang
Case Study
A two-week Sprint
41
Week #1, Developers write code + white-box testing, testers write test cases
Week #2, Testers do functional testing, developers fix bugs
Copyright © 2011 - 2015 Ethan Huang
A Development TEAM
WORK WITH
a testing TEAM
42
队
Copyright © 2011 - 2015 Ethan Huang43
An INDIVIDUAL developer
PAIR WORK
with an INDIVIDUAL tester
对
Copyright © 2011 - 2015 Ethan Huang44
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Defending vs. Attacking
45
Copyright © 2011 - 2015 Ethan Huang
Scrum Alliance Certified Scrum Extended Education Course
Agile Testing Strategy
46
Copyright © 2011 - 2015 Ethan Huang
Case Study
Falcon team is working on the end-to-end system testing
against the drivers for some chips. Different components are
developed by different Scrum teams.
If there is a system defect it might physically destroy the
hardware. Whenever that happens it costs 100,000 USD.
47
Copyright © 2011 - 2015 Ethan Huang
Case Study
Eagle team is producing a communication software on
satellites.
Whenever they want to do end-to-end functional testing they
have to use a real satellite and it costs 500,000 USD.
48
Copyright © 2011 - 2015 Ethan Huang
Do the RIGHT testing,
at the RIGHT timing,
using the RIGHT approach,
by the RIGHT people
49
Copyright © 2011 - 2015 Ethan Huang
Q&A
50
Copyright © 2011 - 2015 Ethan Huang
Thanks!

More Related Content

What's hot

Continuous Testing in Vegas
Continuous Testing in VegasContinuous Testing in Vegas
Continuous Testing in Vegasjaredrrichardson
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with AgileKen McCorkell
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessLee Barnes
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For AgileNaresh Jain
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation ArchitectureErdem YILDIRIM
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming CodeNaresh Jain
 
Advanced Software Test Automation
Advanced Software Test AutomationAdvanced Software Test Automation
Advanced Software Test AutomationUnmesh Ballal
 
How to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & MobileHow to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & MobilePerfecto by Perforce
 
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo IuliiaTest Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo IuliiaYulia Zavertailo
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automationEran Kinsbrunner
 
CP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingCP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingAgile Testing Alliance
 
Continuous Automated Regression Testing to the Rescue
Continuous Automated Regression Testing to the RescueContinuous Automated Regression Testing to the Rescue
Continuous Automated Regression Testing to the RescueTechWell
 
Large-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeLarge-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeTechWell
 
Solving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous TestingSolving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous TestingPerfecto by Perforce
 
#TesterbhiCoder - Every Tester should get into coding - Selenium automation
#TesterbhiCoder - Every Tester should get into coding - Selenium automation#TesterbhiCoder - Every Tester should get into coding - Selenium automation
#TesterbhiCoder - Every Tester should get into coding - Selenium automationAgile Testing Alliance
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?Anand Bagmar
 
Continuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software WestContinuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software WestCory Foy
 
DevOps Tactical Adoption Theory: Continuous Testing
DevOps Tactical Adoption Theory: Continuous TestingDevOps Tactical Adoption Theory: Continuous Testing
DevOps Tactical Adoption Theory: Continuous TestingBerk Dülger
 

What's hot (20)

Continuous Testing in Vegas
Continuous Testing in VegasContinuous Testing in Vegas
Continuous Testing in Vegas
 
Automated Testing with Agile
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
 
Building a Test Automation Strategy for Success
Building a Test Automation Strategy for SuccessBuilding a Test Automation Strategy for Success
Building a Test Automation Strategy for Success
 
Test Automation Strategies For Agile
Test Automation Strategies For AgileTest Automation Strategies For Agile
Test Automation Strategies For Agile
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture
 
Improving the Quality of Incoming Code
Improving the Quality of Incoming CodeImproving the Quality of Incoming Code
Improving the Quality of Incoming Code
 
Advanced Software Test Automation
Advanced Software Test AutomationAdvanced Software Test Automation
Advanced Software Test Automation
 
How to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & MobileHow to Clean Up Your Continuous Testing Suites for Web & Mobile
How to Clean Up Your Continuous Testing Suites for Web & Mobile
 
ISTQB Foundation Agile Tester 2014 Training, Agile SW Development
ISTQB Foundation Agile Tester 2014 Training, Agile SW DevelopmentISTQB Foundation Agile Tester 2014 Training, Agile SW Development
ISTQB Foundation Agile Tester 2014 Training, Agile SW Development
 
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo IuliiaTest Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
Test Metrics in Agile - powerful tool to support changes - Zavertailo Iuliia
 
New trends in testing automation
New trends in testing automationNew trends in testing automation
New trends in testing automation
 
CP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation TestingCP-SAT - Certified Professional Selenium Automation Testing
CP-SAT - Certified Professional Selenium Automation Testing
 
Continuous Automated Regression Testing to the Rescue
Continuous Automated Regression Testing to the RescueContinuous Automated Regression Testing to the Rescue
Continuous Automated Regression Testing to the Rescue
 
Large-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in PracticeLarge-Scale Agile Test Automation Strategies in Practice
Large-Scale Agile Test Automation Strategies in Practice
 
Solving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous TestingSolving the 3 Biggest Questions in Continuous Testing
Solving the 3 Biggest Questions in Continuous Testing
 
#TesterbhiCoder - Every Tester should get into coding - Selenium automation
#TesterbhiCoder - Every Tester should get into coding - Selenium automation#TesterbhiCoder - Every Tester should get into coding - Selenium automation
#TesterbhiCoder - Every Tester should get into coding - Selenium automation
 
Test automation - What? Why? How?
Test automation - What? Why? How?Test automation - What? Why? How?
Test automation - What? Why? How?
 
Test Automation
Test AutomationTest Automation
Test Automation
 
Continuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software WestContinuous Deployment and Testing Workshop from Better Software West
Continuous Deployment and Testing Workshop from Better Software West
 
DevOps Tactical Adoption Theory: Continuous Testing
DevOps Tactical Adoption Theory: Continuous TestingDevOps Tactical Adoption Theory: Continuous Testing
DevOps Tactical Adoption Theory: Continuous Testing
 

Similar to Agile testing strategy

Tackling Strategic Engineering Challenges
Tackling Strategic Engineering ChallengesTackling Strategic Engineering Challenges
Tackling Strategic Engineering ChallengesApplause
 
Testlink Test Management with Teamforge
Testlink Test Management with TeamforgeTestlink Test Management with Teamforge
Testlink Test Management with TeamforgeCollabNet
 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationUiPathCommunity
 
Continuous integration practices to improve the software quality
Continuous integration practices to improve the software qualityContinuous integration practices to improve the software quality
Continuous integration practices to improve the software qualityFabricio Epaminondas
 
Continuous Integration Practices
Continuous Integration Practices Continuous Integration Practices
Continuous Integration Practices Marcelo Freire
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support developmentChema del Barco
 
The DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightThe DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightInflectra
 
Continuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQContinuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQTomas Riha
 
Resume - Virupaxappa Karki-2016e
Resume - Virupaxappa Karki-2016eResume - Virupaxappa Karki-2016e
Resume - Virupaxappa Karki-2016eVirupaxappa Karki
 
PMI-ACP Lesson 06 Quality
PMI-ACP Lesson 06 QualityPMI-ACP Lesson 06 Quality
PMI-ACP Lesson 06 QualityThanh Nguyen
 
Continuous Delivery for IT Operations Teams
Continuous Delivery for IT Operations TeamsContinuous Delivery for IT Operations Teams
Continuous Delivery for IT Operations TeamsMark Rendell
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardTechWell
 
Test Automation at the Speed of Agile: Making It Work Every Build
Test Automation at the Speed of Agile: Making It Work Every BuildTest Automation at the Speed of Agile: Making It Work Every Build
Test Automation at the Speed of Agile: Making It Work Every BuildTechWell
 
Tdd01 a simple intro to tdd
Tdd01 a simple intro to tddTdd01 a simple intro to tdd
Tdd01 a simple intro to tddMiguel Alho
 
Simona Hera - A Practical Guide for Testers in Agile Teams
Simona Hera - A Practical Guide for Testers in Agile TeamsSimona Hera - A Practical Guide for Testers in Agile Teams
Simona Hera - A Practical Guide for Testers in Agile TeamsSimona Hera
 
Mobile Test Automation with Big Data Analytics
Mobile Test Automation with Big Data AnalyticsMobile Test Automation with Big Data Analytics
Mobile Test Automation with Big Data AnalyticsTechWell
 
QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1Akash Tyagi
 

Similar to Agile testing strategy (20)

Tackling Strategic Engineering Challenges
Tackling Strategic Engineering ChallengesTackling Strategic Engineering Challenges
Tackling Strategic Engineering Challenges
 
Testlink Test Management with Teamforge
Testlink Test Management with TeamforgeTestlink Test Management with Teamforge
Testlink Test Management with Teamforge
 
Test Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_PresentationTest Automation with Gen AI_Final_Presentation
Test Automation with Gen AI_Final_Presentation
 
Anjaneya Gupta_CV
Anjaneya Gupta_CVAnjaneya Gupta_CV
Anjaneya Gupta_CV
 
Tdd dev session
Tdd dev sessionTdd dev session
Tdd dev session
 
Continuous integration practices to improve the software quality
Continuous integration practices to improve the software qualityContinuous integration practices to improve the software quality
Continuous integration practices to improve the software quality
 
Continuous Integration Practices
Continuous Integration Practices Continuous Integration Practices
Continuous Integration Practices
 
Creating testing tools to support development
Creating testing tools to support developmentCreating testing tools to support development
Creating testing tools to support development
 
The DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It RightThe DevOps Dance - Shift Left, Shift Right - Get It Right
The DevOps Dance - Shift Left, Shift Right - Get It Right
 
Continuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQContinuous Delivery Testing @HiQ
Continuous Delivery Testing @HiQ
 
Resume - Virupaxappa Karki-2016e
Resume - Virupaxappa Karki-2016eResume - Virupaxappa Karki-2016e
Resume - Virupaxappa Karki-2016e
 
PMI-ACP Lesson 06 Quality
PMI-ACP Lesson 06 QualityPMI-ACP Lesson 06 Quality
PMI-ACP Lesson 06 Quality
 
Continuous Delivery for IT Operations Teams
Continuous Delivery for IT Operations TeamsContinuous Delivery for IT Operations Teams
Continuous Delivery for IT Operations Teams
 
Continuous Performance Testing: The New Standard
Continuous Performance Testing: The New StandardContinuous Performance Testing: The New Standard
Continuous Performance Testing: The New Standard
 
Alpha & Beta Testing
Alpha & Beta TestingAlpha & Beta Testing
Alpha & Beta Testing
 
Test Automation at the Speed of Agile: Making It Work Every Build
Test Automation at the Speed of Agile: Making It Work Every BuildTest Automation at the Speed of Agile: Making It Work Every Build
Test Automation at the Speed of Agile: Making It Work Every Build
 
Tdd01 a simple intro to tdd
Tdd01 a simple intro to tddTdd01 a simple intro to tdd
Tdd01 a simple intro to tdd
 
Simona Hera - A Practical Guide for Testers in Agile Teams
Simona Hera - A Practical Guide for Testers in Agile TeamsSimona Hera - A Practical Guide for Testers in Agile Teams
Simona Hera - A Practical Guide for Testers in Agile Teams
 
Mobile Test Automation with Big Data Analytics
Mobile Test Automation with Big Data AnalyticsMobile Test Automation with Big Data Analytics
Mobile Test Automation with Big Data Analytics
 
QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1QTP Automation Testing Tutorial 1
QTP Automation Testing Tutorial 1
 

More from Ethan Huang

Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020
Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020
Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020Ethan Huang
 
Lets abandon performance appraisal
Lets abandon performance appraisalLets abandon performance appraisal
Lets abandon performance appraisalEthan Huang
 
Toolbox for agile coaches@rsg hz2016
Toolbox for agile coaches@rsg hz2016Toolbox for agile coaches@rsg hz2016
Toolbox for agile coaches@rsg hz2016Ethan Huang
 
20 ways to run retrospective differently
20 ways to run retrospective differently20 ways to run retrospective differently
20 ways to run retrospective differentlyEthan Huang
 
Lets abandon performance appraisal
Lets abandon performance appraisalLets abandon performance appraisal
Lets abandon performance appraisalEthan Huang
 
User Story Cycle Time - An Universal Agile Maturity Measurement
User Story Cycle Time - An Universal Agile Maturity MeasurementUser Story Cycle Time - An Universal Agile Maturity Measurement
User Story Cycle Time - An Universal Agile Maturity MeasurementEthan Huang
 
Are you being the right ScrumMaster?
Are you being the right ScrumMaster?Are you being the right ScrumMaster?
Are you being the right ScrumMaster?Ethan Huang
 
Agile vs. the iron triangle
Agile vs. the iron triangleAgile vs. the iron triangle
Agile vs. the iron triangleEthan Huang
 
Agile development makes elephants dance
Agile development makes elephants danceAgile development makes elephants dance
Agile development makes elephants danceEthan Huang
 
Team wide testing
Team wide testingTeam wide testing
Team wide testingEthan Huang
 
Integrated Dev And Qa Team With Scrum
Integrated Dev And Qa Team With ScrumIntegrated Dev And Qa Team With Scrum
Integrated Dev And Qa Team With ScrumEthan Huang
 
Story Based Burn Down
Story Based Burn DownStory Based Burn Down
Story Based Burn DownEthan Huang
 

More from Ethan Huang (12)

Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020
Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020
Agile Coach & HR (Chinese) - Speech @ Agile Tour 2020
 
Lets abandon performance appraisal
Lets abandon performance appraisalLets abandon performance appraisal
Lets abandon performance appraisal
 
Toolbox for agile coaches@rsg hz2016
Toolbox for agile coaches@rsg hz2016Toolbox for agile coaches@rsg hz2016
Toolbox for agile coaches@rsg hz2016
 
20 ways to run retrospective differently
20 ways to run retrospective differently20 ways to run retrospective differently
20 ways to run retrospective differently
 
Lets abandon performance appraisal
Lets abandon performance appraisalLets abandon performance appraisal
Lets abandon performance appraisal
 
User Story Cycle Time - An Universal Agile Maturity Measurement
User Story Cycle Time - An Universal Agile Maturity MeasurementUser Story Cycle Time - An Universal Agile Maturity Measurement
User Story Cycle Time - An Universal Agile Maturity Measurement
 
Are you being the right ScrumMaster?
Are you being the right ScrumMaster?Are you being the right ScrumMaster?
Are you being the right ScrumMaster?
 
Agile vs. the iron triangle
Agile vs. the iron triangleAgile vs. the iron triangle
Agile vs. the iron triangle
 
Agile development makes elephants dance
Agile development makes elephants danceAgile development makes elephants dance
Agile development makes elephants dance
 
Team wide testing
Team wide testingTeam wide testing
Team wide testing
 
Integrated Dev And Qa Team With Scrum
Integrated Dev And Qa Team With ScrumIntegrated Dev And Qa Team With Scrum
Integrated Dev And Qa Team With Scrum
 
Story Based Burn Down
Story Based Burn DownStory Based Burn Down
Story Based Burn Down
 

Recently uploaded

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
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
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
The transition to renewables in India.pdf
The transition to renewables in India.pdfThe transition to renewables in India.pdf
The transition to renewables in India.pdf
 

Agile testing strategy

  • 1. Copyright © 2011 - 2015 Ethan Huang1 Make Less Trouble by having a good agile testing strategy
  • 2. Copyright © 2011 - 2015 Ethan Huang2 Ethan Huang cn.linkedin.com/in/ethancst me@ethanhuang.net WeChat: ethanhuang0922
  • 3. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course #define Testing 3
  • 4. Copyright © 2011 - 2014 Ethan Huang The more bugs testers find, the more value they provide. Y/N?
  • 5. Copyright © 2011 - 2015 Ethan Huang5 V-model & Waterfall Requirement Analysis System Architecture Design Coding Unit Tes:ng Integra:on Tes:ng System Tes:ng Acceptance Tes:ng
  • 6. Copyright © 2011 - 2015 Ethan Huang IT DOESN’ WORK 6 BECAUSE …
  • 7. Copyright © 2011 - 2015 Ethan Huang DO THINGS RIGHT THE FIRST TIME! 7 Philip B. Crosby, “Zero Defects” and “Right First Time”
  • 8. Copyright © 2011 - 2015 Ethan Huang8 Best timing to prevent defects? Requirement Analysis System Architecture Design Coding codecheck-in UnitTestingIntegration Testing SystemTestingAcceptance Testing
  • 9. Copyright © 2011 - 2015 Ethan Huang STOP playing the Go-Find-The-Bug game, BUILD quality in! 9
  • 10. Copyright © 2011 - 2015 Ethan Huang AGILE TESTING - The Underlying Principles 10
  • 11. Copyright © 2011 - 2015 Ethan Huang WE NEVER COMPROMISE ON QUALITY 11
  • 12. Copyright © 2011 - 2015 Ethan Huang WHOLE TEAM TESTING 12
  • 13. Copyright © 2011 - 2015 Ethan Huang TEST IMMEDIATELY 13 Testing is no longer an end-of-project phase; it is embedded into development activities
  • 14. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Set a quality goal 14
  • 15. Copyright © 2011 - 2015 Ethan Huang Good quality vs. Good ENOUGH Quality 15
  • 16. Copyright © 2011 - 2015 Ethan Huang Definition of Done/Quality Standard & Trusted Zone/Environment 16
  • 17. Copyright © 2011 - 2015 Ethan Huang Case Study DoD/Trusted Zone for the Titan team: 17 1. Unit Test line coverage >= 80%, Dev Env 2. Automated Functional Testing coverage >= 60%, Dev + QA Env 3. Manual Functional Testing coverage = 100%, UAT Env
  • 18. Copyright © 2011 - 2015 Ethan Huang Over testing 18
  • 19. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Re-define Testing Activities 19
  • 20. Copyright © 2011 - 2015 Ethan Huang The Testing Pyramid* in Waterfall 20 Unit Testing Integration Testing Functional/System Testing * Mike Cohn, Succeeding with Agile
  • 21. Copyright © 2011 - 2015 Ethan Huang The Testing Pyramid in Agile 21 Unit Testing Interface Testing Functional/System Testing
  • 22. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Unit Testing 22
  • 23. Copyright © 2011 - 2015 Ethan Huang Case Study The Tiger Team is working on some critical feature with a very tight schedule. In order to deliver on-time they decided to finish coding first, fix all known bugs, then add Unit Tests to reach 80% line coverage 23
  • 24. Copyright © 2011 - 2015 Ethan Huang24 Coding Testing/ Bug Unit Testing Check-in & Build
  • 25. Copyright © 2011 - 2015 Ethan Huang Do Unit Testing afterwords 25
  • 26. Copyright © 2011 - 2015 Ethan Huang Case Study The SpiderMan team is very proud of their high code coverage - they always make sure they have at least 85% line coverage. One day the Product Owner was so curious about what those numbers mean, that she asked them to click into the red bars… 26
  • 27. Copyright © 2011 - 2015 Ethan Huang27
  • 28. Copyright © 2011 - 2015 Ethan Huang Test for coverage 28
  • 29. Copyright © 2011 - 2015 Ethan Huang TDD 29
  • 30. Copyright © 2011 - 2015 Ethan Huang Or, at least, do Unit Test immediately 30
  • 31. Copyright © 2011 - 2015 Ethan Huang Small bites: write a little code, then do a little testing before check-in 31
  • 32. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Integration Testing 32
  • 33. Copyright © 2011 - 2015 Ethan Huang Case Study Team A, B and C are working on 3 components which are having dependencies between each other. They have to adjust their schedule to accommodate each other. 33
  • 34. Copyright © 2011 - 2015 Ethan Huang Still waterfall … 34 Integration Integration Testing Functional Testing Sprint 1 Sprint 2 Component 1 TDD + CI + Test Automa:on Scrum Team A Component 2 TDD + CI + Test Automa:on Scrum Team B Component 3 TDD + CI + Test Automa:on Scrum Team C Dependency Dependency
  • 35. Copyright © 2011 - 2015 Ethan Huang Integration Test Driven Development 35 Mockbased IntegrationTesting Sprint 1 Component 1 Feature 1 Scrum Team A Component 2 Feature 1 Component 3 Feature 1 Decouple Dependencies Component 1 Feature 2 Component 2 Feature 2 Component 3 Feature 2 Component 1 Feature 3 Component 2 Feature 3 Component 3 Feature 3 Scrum Team B Scrum Team C Second Tier CI Integration + End-to-End Functional Testing Integration + End-to-End Functional Testing Integration + End-to-End Functional Testing
  • 36. Copyright © 2011 - 2015 Ethan Huang CI only within single teams 36
  • 37. Copyright © 2011 - 2015 Ethan Huang Second tier CI (CI Pipeline) 37
  • 38. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Functional Testing 38
  • 39. Copyright © 2011 - 2015 Ethan Huang Case Study 0.001 - 0.999 This tolerance logic has been covered by Unit Testing + Service Testing + Functional Testing 39
  • 40. Copyright © 2011 - 2015 Ethan Huang Duplicated Testing Effort 40
  • 41. Copyright © 2011 - 2015 Ethan Huang Case Study A two-week Sprint 41 Week #1, Developers write code + white-box testing, testers write test cases Week #2, Testers do functional testing, developers fix bugs
  • 42. Copyright © 2011 - 2015 Ethan Huang A Development TEAM WORK WITH a testing TEAM 42 队
  • 43. Copyright © 2011 - 2015 Ethan Huang43 An INDIVIDUAL developer PAIR WORK with an INDIVIDUAL tester 对
  • 44. Copyright © 2011 - 2015 Ethan Huang44
  • 45. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Defending vs. Attacking 45
  • 46. Copyright © 2011 - 2015 Ethan Huang Scrum Alliance Certified Scrum Extended Education Course Agile Testing Strategy 46
  • 47. Copyright © 2011 - 2015 Ethan Huang Case Study Falcon team is working on the end-to-end system testing against the drivers for some chips. Different components are developed by different Scrum teams. If there is a system defect it might physically destroy the hardware. Whenever that happens it costs 100,000 USD. 47
  • 48. Copyright © 2011 - 2015 Ethan Huang Case Study Eagle team is producing a communication software on satellites. Whenever they want to do end-to-end functional testing they have to use a real satellite and it costs 500,000 USD. 48
  • 49. Copyright © 2011 - 2015 Ethan Huang Do the RIGHT testing, at the RIGHT timing, using the RIGHT approach, by the RIGHT people 49
  • 50. Copyright © 2011 - 2015 Ethan Huang Q&A 50
  • 51. Copyright © 2011 - 2015 Ethan Huang Thanks!