Agile testing - Testing From Day 1

Kaizenko
KaizenkoKaizenko
AGILE TESTING
Testing From Day One
By Fadi Stephan
While we wait for the
session to start, meet your
neighbors and discuss …
AGILE TESTING @fadistephan | kaizenko.com
• Do you currently work on an Agile team?
• Does your team include testers?
• What testing challenges are you facing?
Technology Consultant and Certified Scrum Trainer
20 Years of Experience in Software Development
Co-organizer of the DC Scrum User Group (DCSUG)
Skier and Diver
www.kaizenko.com @KaizenkoLLC
@FadiStephan
FADI STEPHAN
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Requirement Design Code Test
2 Weeks 2 Weeks 2 Weeks 2 Weeks
AGILE TESTING @fadistephan | kaizenko.com
4 Weeks
Requirement Design Coooooooooooooooooooooooooode
Test
AGILE TESTING @fadistephan | kaizenko.com
Code 1 Code 2
Test 1 Test 2
2 Weeks 2 Weeks 2 Weeks 2 Weeks
Code 3 Code 4
Test 3
AGILE TESTING @fadistephan | kaizenko.com
2 Weeks
Designed
Coded
And
Tested Story 1 Story 1
Story 3
Story 4
Story 6
Story 2
Story 1
Story 2
Story 3
Story 5
Story
Story 4
Story 1
Story 2
Story 3
Story 5
Story 4
Story 1
Story 2
Story 3
Story 5
Story 6
Story 7
Day 1 Day 3 Day 6 Day 7 Day 10
AGILE TESTING @fadistephan | kaizenko.com
Requirements
Design
Development
Test
DeployWATERFALL
APPROACH
AGILE TESTING @fadistephan | kaizenko.com
Requirements
Design
Development
Test
Deploy
ITERATIVE &
INCREMENTAL
APPROACH TO
WATERFALL
AGILE TESTING @fadistephan | kaizenko.com
“Our highest priority is to satisfy the
customer through early and continuous
delivery of valuable software.”
“Deliver working software frequently,
from a couple of weeks to a couple
of months, with a preference to the
shorter timescale.”
- First and third of the Twelve Principles behind the Agile Manifesto
A LEANER PMO IN THE FEDERAL GOVERNMENTAGILE TESTING @fadistephan | kaizenko.com
REQUIREMENTS
DESIGN
DEVELOPMENTTEST
DEPLOY
AGILE TESTING @fadistephan | kaizenko.com
Days
Not
Months or
Years
REQUIREMENTS
DESIGN
DEVELOPMENTTEST
DEPLOY
AGILE TESTING @fadistephan | kaizenko.com
WHAT KIND OF
TESTING?
AGILE TESTING @fadistephan | kaizenko.com
Brainstorm with your
neighbors …
AGILE TESTING @fadistephan | kaizenko.com
What are all the types of testing that
you currently do or should be doing?
Functional Tests
Acceptance Tests
Unit Tests
Integration Test
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
Types of Testing
AGILE TESTING @fadistephan | kaizenko.com
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
WHICH TESTS DO WE
AUTOMATE?
AGILE TESTING @fadistephan | kaizenko.com
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Automated
Automated
Automated
Manual
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
HOW MANY OF EACH
TYPE?
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Business Layer
Web Layer
Browser
Data Layer
CodeCode
Code Code Code Code
Code CodeCodeCode
Code Code Code Code
Database
Unit
Integration
System
Acceptance
Test Coverage
Test Execution Time
Test Feedback
Test Maintenance
AGILE TESTING @fadistephan | kaizenko.com
Testing Pyramid
AGILE TESTING @fadistephan | kaizenko.com
Unit Tests
Integration/System
Tests
Functional
& AT Tests
UI
Tests
Manual
WHEN DO WE START
TESTING?
AGILE TESTING @fadistephan | kaizenko.com
Task Board
AGILE TESTING @fadistephan | kaizenko.com
To Do In Progress Testing Done
User
Story
User
Story
User
Story
Task Task Task
Task Task
Task Task
Task Task
TESTING IS NOT A
PHASE
AGILE TESTING @fadistephan | kaizenko.com
Task Board
AGILE TESTING @fadistephan | kaizenko.com
To Do In Progress Done
User
Story
User
Story
User
Story
Task Task Task
Task Task
Task Task
Task Task
WHO IS DOING THE
TESTING?
AGILE TESTING @fadistephan | kaizenko.com
TESTING IS
EVERYONE’S
RESPONSIBILITY
AGILE TESTING @fadistephan | kaizenko.com
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Think
Test
Code
Refactor
Test Driven Development (TDD)
HIGH CODE
COVERAGE IS NOT
THE GOAL WITH TDD
AGILE TESTING @fadistephan | kaizenko.com
Testing Pyramid
AGILE TESTING @fadistephan | kaizenko.com
Unit Tests
Integration/System
Tests
Functional
Tests
UI
Tests
Manual
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
DO NOT DO
FUNCTIONAL TESTING
VIA THE UI
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
As a customer I want to see a running total of
all items in a shopping cart So that I can stay
within my budget.
Running Total
AGILE TESTING @fadistephan | kaizenko.com
Business Layer
Web Layer
Browser
Data Layer
Code
Code
Code
Code
Database
Code
Code
Code
Code
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
EXECUTABLE
SPECIFICATION
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
As a customer I want to collect books in a shopping
cart So that I can order several books at once.
• Books can be added to the shopping basket
• Books can be removed from the shopping basket
• Shopping basket is initially empty
• The same book can be added multiple times to
the shopping basket
User Story
AGILE TESTING @fadistephan | kaizenko.com
• Requirements and tests are just two sides of
the same coin
– You can’t have a user story (requirement) without
acceptance criteria (test)
• Agile testing focuses on melding requirements
and tests into executable specifications
Executable Specifications
AGILE TESTING @fadistephan | kaizenko.com
As a customer I want to collect books in a shopping
cart So that I can order several books at once.
• Books can be added to the shopping basket
– Given my shopping basket is empty
– When I add the book “Harry Potter” to my shopping
basket
– Then my shopping basket should contain 1 copy of
“Harry Potter”
Specification by Example
AGILE TESTING @fadistephan | kaizenko.com
As a potential customer I want to collect books in a
shopping cart So that I can order several books at once.
• The same book can be added multiple times to the
shopping basket
– Given my shopping basket contains 1 copy of “Harry
Potter”
– When I add the book “Harry Potter” to my shopping
basket
– Then my shopping basket should contain 2 copies of
“Harry Potter”
Specification by Example
AGILE TESTING @fadistephan | kaizenko.com
Green Documents
• Use Specification by Example to create “green documents”
– Less Likely to rot
– Not write once documents
– Help people think and collaborate
– Communicate what the product really does
– Become automated acceptance tests
– Become part of regression test suite
AGILE TESTING @fadistephan | kaizenko.com
PASS
REFACTOR CODE
FAIL
FAIL
PASS
Automated Acceptance Test Automated Unit Test
User Story
Acceptance Criteria
Back
Acceptance Test Driven
Development (ATDD)
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
WHAT ABOUT
GREEN FIELD
vs.
LEGACY
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Business Layer
Web Layer
Browser
Data Layer
Code
Code
Code
Code
Database
Code
Code
Code
Code Code
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
USABILITY TESTING
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Credit: John Bellomy
AGILE TESTING @fadistephan | kaizenko.com
Credit: John Bellomy
EXPLORATORY
TESTING
AGILE TESTING @fadistephan | kaizenko.com
EXPLORATORY
TESTING IS NOT
AD-HOC TESTING
AGILE TESTING @fadistephan | kaizenko.com
EXPLORATORY
TESTING IS NOT
EXHUASTIVE
TESTING
AGILE TESTING @fadistephan | kaizenko.com
AGILE TESTING @fadistephan | kaizenko.com
Exploratory Testing
• A sophisticated, thoughtful approach to
testing without a script
• Enables going beyond the obvious variations
that have already been tested
• Combines learning, test design and test
execution into one test approach
• Applies heuristics and techniques in a
disciplined way
AGILE TESTING @fadistephan | kaizenko.com
Session Based Testing
• Time-boxed and structured
• Mission/charter based
• Look for patterns that do not look right
• Divert from the mission if necessary
• Report on your results
Functional Tests
Acceptance Tests
Unit Tests
Integration Tests
Component Tests
System Tests
Exploratory Tests
Usability Tests
Performance Tests
Load Tests
Stress Tests
Security Tests
SupportProgramming
CritiqueProduct
Business Facing
Technology Facingfrom Brian Marick
Testing Quadrant
AGILE TESTING @fadistephan | kaizenko.com
SUMMARY
1. Testing in not a phase
2. Testing is everyone’s responsibility
3. Testing starts on day 1
4. Do automate all scripted tests
5. Developers are the one’s doing most of the
automation
6. Do use executable documentation
7. Do not automate functional testing via the UI
8. Save most manual testing for usability and
exploratory testing
AGILE TESTING @fadistephan | kaizenko.com
REFERENCES
AGILE TESTING @fadistephan | kaizenko.com
Technology Consultant and Certified Scrum Trainer
20 Years of Experience in Software Development
Co-organizer of the DC Scrum User Group (DCSUG)
Skier and Diver
www.kaizenko.com @KaizenkoLLC
@FadiStephan
FADI STEPHAN
AGILE TESTING @fadistephan | kaizenko.com
1 von 64

Recomendados

Introduction to Agile Testing von
Introduction to Agile TestingIntroduction to Agile Testing
Introduction to Agile TestingRaymond Adrian (Rad) Butalid
379 views43 Folien
Agile Testing Strategy von
Agile Testing StrategyAgile Testing Strategy
Agile Testing Strategytharindakasun
73.6K views14 Folien
QA Best Practices in Agile World_new von
QA Best Practices in Agile World_newQA Best Practices in Agile World_new
QA Best Practices in Agile World_newPraveen Dosapati (CSM)
1.4K views25 Folien
Agile Testing: The Role Of The Agile Tester von
Agile Testing: The Role Of The Agile TesterAgile Testing: The Role Of The Agile Tester
Agile Testing: The Role Of The Agile TesterDeclan Whelan
47.3K views67 Folien
Agile Testing – embedding testing into agile software development lifecycle von
Agile Testing – embedding testing into agile software development lifecycle Agile Testing – embedding testing into agile software development lifecycle
Agile Testing – embedding testing into agile software development lifecycle Kari Kakkonen
2.9K views52 Folien
Role Of Qa And Testing In Agile 1225221397167302 8 von
Role Of Qa And Testing In Agile 1225221397167302 8Role Of Qa And Testing In Agile 1225221397167302 8
Role Of Qa And Testing In Agile 1225221397167302 8a34sharm
2.3K views23 Folien

Más contenido relacionado

Was ist angesagt?

Presentation on Agile Testing von
Presentation on Agile TestingPresentation on Agile Testing
Presentation on Agile Testing1Solutions Pvt. Ltd.
8.3K views21 Folien
Agile testing principles and practices - Anil Karade von
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil KaradeIndicThreads
9K views36 Folien
Agile Testing Process von
Agile Testing ProcessAgile Testing Process
Agile Testing ProcessIntetics
57.7K views12 Folien
Testing in Agile Projects von
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projectssriks7
22.6K views29 Folien
Testing strategy for agile projects updated von
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updatedTharinda Liyanage
2.4K views27 Folien
Agile QA and Testing process von
Agile QA and Testing processAgile QA and Testing process
Agile QA and Testing processGloria Stoilova
1K views13 Folien

Was ist angesagt?(20)

Agile testing principles and practices - Anil Karade von IndicThreads
Agile testing principles and practices - Anil KaradeAgile testing principles and practices - Anil Karade
Agile testing principles and practices - Anil Karade
IndicThreads9K views
Agile Testing Process von Intetics
Agile Testing ProcessAgile Testing Process
Agile Testing Process
Intetics57.7K views
Testing in Agile Projects von sriks7
Testing in Agile ProjectsTesting in Agile Projects
Testing in Agile Projects
sriks722.6K views
Testing strategy for agile projects updated von Tharinda Liyanage
Testing strategy for agile projects updatedTesting strategy for agile projects updated
Testing strategy for agile projects updated
Tharinda Liyanage2.4K views
Agile QA presentation von Carl Bruiners
Agile QA presentationAgile QA presentation
Agile QA presentation
Carl Bruiners15.4K views
Test Strategy and Planning von Sachin-QA
Test Strategy and PlanningTest Strategy and Planning
Test Strategy and Planning
Sachin-QA290 views
Scrum Testing Methodology von Gaya1985
Scrum Testing MethodologyScrum Testing Methodology
Scrum Testing Methodology
Gaya198529K views
Automated Testing with Agile von Ken McCorkell
Automated Testing with AgileAutomated Testing with Agile
Automated Testing with Agile
Ken McCorkell5.8K views
Agile Testing Framework - The Art of Automated Testing von Dimitri Ponomareff
Agile Testing Framework - The Art of Automated TestingAgile Testing Framework - The Art of Automated Testing
Agile Testing Framework - The Art of Automated Testing
Dimitri Ponomareff29.8K views
Automated Testing vs Manual Testing von didev
Automated Testing vs Manual TestingAutomated Testing vs Manual Testing
Automated Testing vs Manual Testing
didev3.3K views
Software Testing Process, Testing Automation and Software Testing Trends von KMS Technology
Software Testing Process, Testing Automation and Software Testing TrendsSoftware Testing Process, Testing Automation and Software Testing Trends
Software Testing Process, Testing Automation and Software Testing Trends
KMS Technology11.1K views
Software Testing Process von guest1f2740
Software Testing ProcessSoftware Testing Process
Software Testing Process
guest1f274024K views

Similar a Agile testing - Testing From Day 1

Agile Testing - Testing From Day 1 von
Agile Testing - Testing From Day 1Agile Testing - Testing From Day 1
Agile Testing - Testing From Day 1Fadi Stephan
182 views66 Folien
Agile Testing - Testing from Day 1 von
Agile Testing - Testing from Day 1Agile Testing - Testing from Day 1
Agile Testing - Testing from Day 1Fadi Stephan
8K views56 Folien
Build the Right Regression Suite with Behavior-Driven Testing von
Build the Right Regression Suite with Behavior-Driven TestingBuild the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven TestingTechWell
835 views46 Folien
Agile testing MyBTEC von
Agile testing MyBTECAgile testing MyBTEC
Agile testing MyBTECIrina Popovich
1.1K views22 Folien
CookpadTechConf2018-(Mobile)TestAutomation von
CookpadTechConf2018-(Mobile)TestAutomationCookpadTechConf2018-(Mobile)TestAutomation
CookpadTechConf2018-(Mobile)TestAutomationKazuaki Matsuo
3.1K views102 Folien
How to get Automated Testing "Done" von
How to get Automated Testing "Done"How to get Automated Testing "Done"
How to get Automated Testing "Done"TEST Huddle
907 views34 Folien

Similar a Agile testing - Testing From Day 1(20)

Agile Testing - Testing From Day 1 von Fadi Stephan
Agile Testing - Testing From Day 1Agile Testing - Testing From Day 1
Agile Testing - Testing From Day 1
Fadi Stephan182 views
Agile Testing - Testing from Day 1 von Fadi Stephan
Agile Testing - Testing from Day 1Agile Testing - Testing from Day 1
Agile Testing - Testing from Day 1
Fadi Stephan8K views
Build the Right Regression Suite with Behavior-Driven Testing von TechWell
Build the Right Regression Suite with Behavior-Driven TestingBuild the Right Regression Suite with Behavior-Driven Testing
Build the Right Regression Suite with Behavior-Driven Testing
TechWell835 views
CookpadTechConf2018-(Mobile)TestAutomation von Kazuaki Matsuo
CookpadTechConf2018-(Mobile)TestAutomationCookpadTechConf2018-(Mobile)TestAutomation
CookpadTechConf2018-(Mobile)TestAutomation
Kazuaki Matsuo3.1K views
How to get Automated Testing "Done" von TEST Huddle
How to get Automated Testing "Done"How to get Automated Testing "Done"
How to get Automated Testing "Done"
TEST Huddle907 views
Using agile testing to drive product innovation von Stephen Graves
Using agile testing to drive product innovationUsing agile testing to drive product innovation
Using agile testing to drive product innovation
Stephen Graves78 views
Behavioral driven development the compelling story For Testers von mark sage
Behavioral driven development    the compelling story For TestersBehavioral driven development    the compelling story For Testers
Behavioral driven development the compelling story For Testers
mark sage57 views
Continuous delivery is more than dev ops von Agile Montréal
Continuous delivery is more than dev opsContinuous delivery is more than dev ops
Continuous delivery is more than dev ops
Agile Montréal274 views
Tec314f von John Art
Tec314fTec314f
Tec314f
John Art593 views
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman von QA or the Highway
Behavior Driven Development—A Guide to Agile Practices by Josh EastmanBehavior Driven Development—A Guide to Agile Practices by Josh Eastman
Behavior Driven Development—A Guide to Agile Practices by Josh Eastman
QA or the Highway353 views
Individuals and interactions over processes and tools von Paul Ellarby
Individuals and interactions over processes and toolsIndividuals and interactions over processes and tools
Individuals and interactions over processes and tools
Paul Ellarby816 views
Best Practices for a Repeatable Shift-Left Commitment von Applause
Best Practices for a Repeatable Shift-Left CommitmentBest Practices for a Repeatable Shift-Left Commitment
Best Practices for a Repeatable Shift-Left Commitment
Applause90 views
SoftwareTesting_Interview_Ques.pptx von mahadev46
SoftwareTesting_Interview_Ques.pptxSoftwareTesting_Interview_Ques.pptx
SoftwareTesting_Interview_Ques.pptx
mahadev465 views
Agile Testing Dilemmas von Aman King
Agile Testing DilemmasAgile Testing Dilemmas
Agile Testing Dilemmas
Aman King2.2K views
End-end tests as first class citizens - SeleniumConf 2020 von Abhijeet Vaikar
End-end tests as first class citizens - SeleniumConf 2020End-end tests as first class citizens - SeleniumConf 2020
End-end tests as first class citizens - SeleniumConf 2020
Abhijeet Vaikar74 views
BJDsolutions.com agile process von bjdsolutions
BJDsolutions.com agile processBJDsolutions.com agile process
BJDsolutions.com agile process
bjdsolutions238 views
Perils of Page-Object Pattern von Anand Bagmar
Perils of Page-Object PatternPerils of Page-Object Pattern
Perils of Page-Object Pattern
Anand Bagmar10.9K views

Más de Kaizenko

The Self Organizing Team Canvas.pdf von
The Self Organizing Team Canvas.pdfThe Self Organizing Team Canvas.pdf
The Self Organizing Team Canvas.pdfKaizenko
314 views55 Folien
Definition of Done Canvas.pptx von
Definition of Done Canvas.pptxDefinition of Done Canvas.pptx
Definition of Done Canvas.pptxKaizenko
266 views49 Folien
The Agile Dashboard von
The Agile DashboardThe Agile Dashboard
The Agile DashboardKaizenko
303 views57 Folien
Top 11 updates to the 2020 scrum guide von
Top 11 updates to the 2020 scrum guideTop 11 updates to the 2020 scrum guide
Top 11 updates to the 2020 scrum guideKaizenko
55 views33 Folien
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile Manifesto von
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile ManifestoSnowbird 2001 - A Behind the Scenes Look at the Writing of the Agile Manifesto
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile ManifestoKaizenko
187 views70 Folien
TDD That Was Easy! von
TDD   That Was Easy!TDD   That Was Easy!
TDD That Was Easy!Kaizenko
694 views57 Folien

Más de Kaizenko(9)

The Self Organizing Team Canvas.pdf von Kaizenko
The Self Organizing Team Canvas.pdfThe Self Organizing Team Canvas.pdf
The Self Organizing Team Canvas.pdf
Kaizenko314 views
Definition of Done Canvas.pptx von Kaizenko
Definition of Done Canvas.pptxDefinition of Done Canvas.pptx
Definition of Done Canvas.pptx
Kaizenko266 views
The Agile Dashboard von Kaizenko
The Agile DashboardThe Agile Dashboard
The Agile Dashboard
Kaizenko303 views
Top 11 updates to the 2020 scrum guide von Kaizenko
Top 11 updates to the 2020 scrum guideTop 11 updates to the 2020 scrum guide
Top 11 updates to the 2020 scrum guide
Kaizenko55 views
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile Manifesto von Kaizenko
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile ManifestoSnowbird 2001 - A Behind the Scenes Look at the Writing of the Agile Manifesto
Snowbird 2001 - A Behind the Scenes Look at the Writing of the Agile Manifesto
Kaizenko187 views
TDD That Was Easy! von Kaizenko
TDD   That Was Easy!TDD   That Was Easy!
TDD That Was Easy!
Kaizenko694 views
Fostering Self Organizaing Teams von Kaizenko
Fostering Self Organizaing TeamsFostering Self Organizaing Teams
Fostering Self Organizaing Teams
Kaizenko940 views
Lean discovery, Agile Delivery, & a DevOps Mindset von Kaizenko
Lean discovery, Agile Delivery, & a DevOps MindsetLean discovery, Agile Delivery, & a DevOps Mindset
Lean discovery, Agile Delivery, & a DevOps Mindset
Kaizenko891 views
Managing Technical Debt von Kaizenko
Managing Technical DebtManaging Technical Debt
Managing Technical Debt
Kaizenko1.5K views

Último

Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... von
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...ShapeBlue
199 views20 Folien
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 von
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PC Cluster Consortium
27 views68 Folien
"Node.js Development in 2024: trends and tools", Nikita Galkin von
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin Fwdays
33 views38 Folien
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」 von
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」PC Cluster Consortium
25 views12 Folien
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdf von
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdfAdopting Karpenter for Cost and Simplicity at Grafana Labs.pdf
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdfMichaelOLeary82
13 views74 Folien
The Coming AI Tsunami.pptx von
The Coming AI Tsunami.pptxThe Coming AI Tsunami.pptx
The Coming AI Tsunami.pptxjohnhandby
13 views12 Folien

Último(20)

Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or... von ShapeBlue
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
Zero to Cloud Hero: Crafting a Private Cloud from Scratch with XCP-ng, Xen Or...
ShapeBlue199 views
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」 von PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
PCCC23:日本AMD株式会社 テーマ1「AMD Instinct™ アクセラレーターの概要」
"Node.js Development in 2024: trends and tools", Nikita Galkin von Fwdays
"Node.js Development in 2024: trends and tools", Nikita Galkin "Node.js Development in 2024: trends and tools", Nikita Galkin
"Node.js Development in 2024: trends and tools", Nikita Galkin
Fwdays33 views
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」 von PC Cluster Consortium
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
PCCC23:日本AMD株式会社 テーマ2「AMD EPYC™ プロセッサーを用いたAIソリューション」
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdf von MichaelOLeary82
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdfAdopting Karpenter for Cost and Simplicity at Grafana Labs.pdf
Adopting Karpenter for Cost and Simplicity at Grafana Labs.pdf
MichaelOLeary8213 views
The Coming AI Tsunami.pptx von johnhandby
The Coming AI Tsunami.pptxThe Coming AI Tsunami.pptx
The Coming AI Tsunami.pptx
johnhandby13 views
Deep Tech and the Amplified Organisation: Core Concepts von Holonomics
Deep Tech and the Amplified Organisation: Core ConceptsDeep Tech and the Amplified Organisation: Core Concepts
Deep Tech and the Amplified Organisation: Core Concepts
Holonomics17 views
Mobile Core Solutions & Successful Cases.pdf von IPLOOK Networks
Mobile Core Solutions & Successful Cases.pdfMobile Core Solutions & Successful Cases.pdf
Mobile Core Solutions & Successful Cases.pdf
IPLOOK Networks14 views
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf von ThomasBronack
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdfBronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf
Bronack Skills - Risk Management and SRE v1.0 12-3-2023.pdf
ThomasBronack31 views
Optimizing Communication to Optimize Human Behavior - LCBM von Yaman Kumar
Optimizing Communication to Optimize Human Behavior - LCBMOptimizing Communication to Optimize Human Behavior - LCBM
Optimizing Communication to Optimize Human Behavior - LCBM
Yaman Kumar38 views
NTGapps NTG LowCode Platform von Mustafa Kuğu
NTGapps NTG LowCode Platform NTGapps NTG LowCode Platform
NTGapps NTG LowCode Platform
Mustafa Kuğu437 views
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell von Fwdays
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
"Node.js vs workers — A comparison of two JavaScript runtimes", James M Snell
Fwdays14 views
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And... von ShapeBlue
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
Enabling DPU Hardware Accelerators in XCP-ng Cloud Platform Environment - And...
ShapeBlue108 views
AIM102-S_Cognizant_CognizantCognitive von PhilipBasford
AIM102-S_Cognizant_CognizantCognitiveAIM102-S_Cognizant_CognizantCognitive
AIM102-S_Cognizant_CognizantCognitive
PhilipBasford21 views
"Package management in monorepos", Zoltan Kochan von Fwdays
"Package management in monorepos", Zoltan Kochan"Package management in monorepos", Zoltan Kochan
"Package management in monorepos", Zoltan Kochan
Fwdays34 views
Future of AR - Facebook Presentation von Rob McCarty
Future of AR - Facebook PresentationFuture of AR - Facebook Presentation
Future of AR - Facebook Presentation
Rob McCarty65 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... von The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...

Agile testing - Testing From Day 1

  • 1. AGILE TESTING Testing From Day One By Fadi Stephan
  • 2. While we wait for the session to start, meet your neighbors and discuss … AGILE TESTING @fadistephan | kaizenko.com • Do you currently work on an Agile team? • Does your team include testers? • What testing challenges are you facing?
  • 3. Technology Consultant and Certified Scrum Trainer 20 Years of Experience in Software Development Co-organizer of the DC Scrum User Group (DCSUG) Skier and Diver www.kaizenko.com @KaizenkoLLC @FadiStephan FADI STEPHAN AGILE TESTING @fadistephan | kaizenko.com
  • 4. AGILE TESTING @fadistephan | kaizenko.com Requirement Design Code Test 2 Weeks 2 Weeks 2 Weeks 2 Weeks
  • 5. AGILE TESTING @fadistephan | kaizenko.com 4 Weeks Requirement Design Coooooooooooooooooooooooooode Test
  • 6. AGILE TESTING @fadistephan | kaizenko.com Code 1 Code 2 Test 1 Test 2 2 Weeks 2 Weeks 2 Weeks 2 Weeks Code 3 Code 4 Test 3
  • 7. AGILE TESTING @fadistephan | kaizenko.com 2 Weeks Designed Coded And Tested Story 1 Story 1 Story 3 Story 4 Story 6 Story 2 Story 1 Story 2 Story 3 Story 5 Story Story 4 Story 1 Story 2 Story 3 Story 5 Story 4 Story 1 Story 2 Story 3 Story 5 Story 6 Story 7 Day 1 Day 3 Day 6 Day 7 Day 10
  • 8. AGILE TESTING @fadistephan | kaizenko.com
  • 11. “Our highest priority is to satisfy the customer through early and continuous delivery of valuable software.” “Deliver working software frequently, from a couple of weeks to a couple of months, with a preference to the shorter timescale.” - First and third of the Twelve Principles behind the Agile Manifesto A LEANER PMO IN THE FEDERAL GOVERNMENTAGILE TESTING @fadistephan | kaizenko.com
  • 14. WHAT KIND OF TESTING? AGILE TESTING @fadistephan | kaizenko.com
  • 15. Brainstorm with your neighbors … AGILE TESTING @fadistephan | kaizenko.com What are all the types of testing that you currently do or should be doing?
  • 16. Functional Tests Acceptance Tests Unit Tests Integration Test Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests Types of Testing AGILE TESTING @fadistephan | kaizenko.com
  • 17. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 18. WHICH TESTS DO WE AUTOMATE? AGILE TESTING @fadistephan | kaizenko.com
  • 19. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Automated Automated Automated Manual Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 20. HOW MANY OF EACH TYPE? AGILE TESTING @fadistephan | kaizenko.com
  • 21. AGILE TESTING @fadistephan | kaizenko.com Business Layer Web Layer Browser Data Layer CodeCode Code Code Code Code Code CodeCodeCode Code Code Code Code Database Unit Integration System Acceptance
  • 22. Test Coverage Test Execution Time Test Feedback Test Maintenance AGILE TESTING @fadistephan | kaizenko.com
  • 23. Testing Pyramid AGILE TESTING @fadistephan | kaizenko.com Unit Tests Integration/System Tests Functional & AT Tests UI Tests Manual
  • 24. WHEN DO WE START TESTING? AGILE TESTING @fadistephan | kaizenko.com
  • 25. Task Board AGILE TESTING @fadistephan | kaizenko.com To Do In Progress Testing Done User Story User Story User Story Task Task Task Task Task Task Task Task Task
  • 26. TESTING IS NOT A PHASE AGILE TESTING @fadistephan | kaizenko.com
  • 27. Task Board AGILE TESTING @fadistephan | kaizenko.com To Do In Progress Done User Story User Story User Story Task Task Task Task Task Task Task Task Task
  • 28. WHO IS DOING THE TESTING? AGILE TESTING @fadistephan | kaizenko.com
  • 30. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 31. AGILE TESTING @fadistephan | kaizenko.com Think Test Code Refactor Test Driven Development (TDD)
  • 32. HIGH CODE COVERAGE IS NOT THE GOAL WITH TDD AGILE TESTING @fadistephan | kaizenko.com
  • 33. Testing Pyramid AGILE TESTING @fadistephan | kaizenko.com Unit Tests Integration/System Tests Functional Tests UI Tests Manual
  • 34. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 35. DO NOT DO FUNCTIONAL TESTING VIA THE UI AGILE TESTING @fadistephan | kaizenko.com
  • 36. AGILE TESTING @fadistephan | kaizenko.com As a customer I want to see a running total of all items in a shopping cart So that I can stay within my budget. Running Total
  • 37. AGILE TESTING @fadistephan | kaizenko.com Business Layer Web Layer Browser Data Layer Code Code Code Code Database Code Code Code Code
  • 38. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 40. AGILE TESTING @fadistephan | kaizenko.com As a customer I want to collect books in a shopping cart So that I can order several books at once. • Books can be added to the shopping basket • Books can be removed from the shopping basket • Shopping basket is initially empty • The same book can be added multiple times to the shopping basket User Story
  • 41. AGILE TESTING @fadistephan | kaizenko.com • Requirements and tests are just two sides of the same coin – You can’t have a user story (requirement) without acceptance criteria (test) • Agile testing focuses on melding requirements and tests into executable specifications Executable Specifications
  • 42. AGILE TESTING @fadistephan | kaizenko.com As a customer I want to collect books in a shopping cart So that I can order several books at once. • Books can be added to the shopping basket – Given my shopping basket is empty – When I add the book “Harry Potter” to my shopping basket – Then my shopping basket should contain 1 copy of “Harry Potter” Specification by Example
  • 43. AGILE TESTING @fadistephan | kaizenko.com As a potential customer I want to collect books in a shopping cart So that I can order several books at once. • The same book can be added multiple times to the shopping basket – Given my shopping basket contains 1 copy of “Harry Potter” – When I add the book “Harry Potter” to my shopping basket – Then my shopping basket should contain 2 copies of “Harry Potter” Specification by Example
  • 44. AGILE TESTING @fadistephan | kaizenko.com Green Documents • Use Specification by Example to create “green documents” – Less Likely to rot – Not write once documents – Help people think and collaborate – Communicate what the product really does – Become automated acceptance tests – Become part of regression test suite
  • 45. AGILE TESTING @fadistephan | kaizenko.com PASS REFACTOR CODE FAIL FAIL PASS Automated Acceptance Test Automated Unit Test User Story Acceptance Criteria Back Acceptance Test Driven Development (ATDD)
  • 46. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 47. WHAT ABOUT GREEN FIELD vs. LEGACY AGILE TESTING @fadistephan | kaizenko.com
  • 48. AGILE TESTING @fadistephan | kaizenko.com Business Layer Web Layer Browser Data Layer Code Code Code Code Database Code Code Code Code Code
  • 49. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 50. USABILITY TESTING AGILE TESTING @fadistephan | kaizenko.com
  • 51. AGILE TESTING @fadistephan | kaizenko.com
  • 52. AGILE TESTING @fadistephan | kaizenko.com
  • 53. AGILE TESTING @fadistephan | kaizenko.com
  • 54. AGILE TESTING @fadistephan | kaizenko.com Credit: John Bellomy
  • 55. AGILE TESTING @fadistephan | kaizenko.com Credit: John Bellomy
  • 57. EXPLORATORY TESTING IS NOT AD-HOC TESTING AGILE TESTING @fadistephan | kaizenko.com
  • 58. EXPLORATORY TESTING IS NOT EXHUASTIVE TESTING AGILE TESTING @fadistephan | kaizenko.com
  • 59. AGILE TESTING @fadistephan | kaizenko.com Exploratory Testing • A sophisticated, thoughtful approach to testing without a script • Enables going beyond the obvious variations that have already been tested • Combines learning, test design and test execution into one test approach • Applies heuristics and techniques in a disciplined way
  • 60. AGILE TESTING @fadistephan | kaizenko.com Session Based Testing • Time-boxed and structured • Mission/charter based • Look for patterns that do not look right • Divert from the mission if necessary • Report on your results
  • 61. Functional Tests Acceptance Tests Unit Tests Integration Tests Component Tests System Tests Exploratory Tests Usability Tests Performance Tests Load Tests Stress Tests Security Tests SupportProgramming CritiqueProduct Business Facing Technology Facingfrom Brian Marick Testing Quadrant AGILE TESTING @fadistephan | kaizenko.com
  • 62. SUMMARY 1. Testing in not a phase 2. Testing is everyone’s responsibility 3. Testing starts on day 1 4. Do automate all scripted tests 5. Developers are the one’s doing most of the automation 6. Do use executable documentation 7. Do not automate functional testing via the UI 8. Save most manual testing for usability and exploratory testing AGILE TESTING @fadistephan | kaizenko.com
  • 64. Technology Consultant and Certified Scrum Trainer 20 Years of Experience in Software Development Co-organizer of the DC Scrum User Group (DCSUG) Skier and Diver www.kaizenko.com @KaizenkoLLC @FadiStephan FADI STEPHAN AGILE TESTING @fadistephan | kaizenko.com

Hinweis der Redaktion

  1. TESTING IS NOT A PHASE TESTING IS EVERYONE’S RESPONSIBILITY TESTING STARTS ON DAY 1 DO AUTOMATE ALL SCRIPTED/FUNCTIONAL TESTS DO NOT RUN AUTOMATED FUNCTIONAL TESTS VIA THE UI DO MOST MANUAL TESTING IS FOR USABILITY and EXPLORATORY TESTING TEST THAT THE CODE WORKS AS INTENEDED TEST THAT THE PRODUCT WORKS AS EXPECTED