SlideShare a Scribd company logo
AGILE TESTING
While we wait for the
session to start, meet your
neighbors and discuss …
AGILE TESTING @fadistephan | @excellaco | excella.com
• Do you currently work on an Agile team?
• Does you team include testers?
• What testing challenges are you facing?
• Consultant @ Excella
• Software Development
Practice Lead
• Scrum Trainer and Coach
• 15+ years of experience in
software development
• Co-organizer of the DC
Scrum User Group
• @FadiStephan
FADI STEPHAN
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
Requirement Design Code Test
2 Weeks 2 Weeks 2 Weeks 2 Weeks
AGILE TESTING @fadistephan | @excellaco | excella.com
4 Weeks
Requirements Design C o o o o o o o o o o o o o o o o o o o o o o o o o d e
Test
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
2 Weeks
Requirement
Design
Code
Test
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
AGILE TESTING @fadistephan | @excellaco | excella.com
Requirements
Design
Development
Test
DeployWATERFALL
APPROACH
AGILE TESTING @fadistephan | @excellaco | excella.com
Requirements
Design
Development
Test
Deploy
ITERATIVE &
INCREMENTAL
APPROACH
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
REQUIREMENTS
DESIGN
DEVELOPMENTTEST
DEPLOY
AGILE TESTING @fadistephan | @excellaco | excella.com
Days
Not
Months or
Years
REQUIREMENTS
DESIGN
DEVELOPMENTTEST
DEPLOY
AGILE TESTING @fadistephan | @excellaco | excella.com
WHAT KIND OF
TESTING?
AGILE TESTING @fadistephan | @excellaco | excella.com
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 | @excellaco | excella.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 | @excellaco | excella.com
WHICH TESTS DO WE
AUTOMATE?
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
HOW MANY OF EACH
TYPE?
AGILE TESTING @fadistephan | @excellaco | excella.com
Testing Pyramid
AGILE TESTING @fadistephan | @excellaco | excella.com
Unit Tests
Integration/System
Tests
Functional
Tests
UI
Tests
Manual
WHEN DO WE START
TESTING?
AGILE TESTING @fadistephan | @excellaco | excella.com
Task Board
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
Task Board
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
TESTING IS
EVERYONE’S
RESPONSIBILITY
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
Think
Test
Code
Refactor
Test Driven Development
Testing Pyramid
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
EXECUTABLE
SPECIFICATION
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.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 | @excellaco | excella.com
As a potential 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 | @excellaco | excella.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 | @excellaco | excella.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 | @excellaco | excella.com
PASS
REFACTOR CODE
FAIL
FAIL
PASS
Automated Acceptance Test Automated Unit Test
User Story
Acceptance Criteria
Back
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 | @excellaco | excella.com
DO NOT DO
FUNCTIONAL TESTING
VIA THE UI
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
Business Layer
Web Layer
Browser
Data Layer
Code
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 | @excellaco | excella.com
USABILITY TESTING
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.com
Credit: John Bellomy
AGILE TESTING @fadistephan | @excellaco | excella.com
Credit: John Bellomy
EXPLORATORY
TESTING
AGILE TESTING @fadistephan | @excellaco | excella.com
EXPLORATORY
TESTING IS NOT
AD-HOC TESTING
AGILE TESTING @fadistephan | @excellaco | excella.com
EXPLORATORY
TESTING IS NOT
EXHUASTIVE
TESTING
AGILE TESTING @fadistephan | @excellaco | excella.com
AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.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 | @excellaco | excella.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 | @excellaco | excella.com

More Related Content

PDF
Agile Testing - Testing From Day 1
PDF
BE A POD OF DOLPHINS, NOT A DANCING ELEPHANT
PPTX
How to get Automated Testing "Done"
PDF
Develop WebDriver Automated Tests—and Keep Your Sanity
PDF
Shift left-devoxx-pl
PDF
Kanban in Action: Thoughtfully Creating Flow
PDF
A systems approach to modern leadership
PPTX
Page objects in test automation
Agile Testing - Testing From Day 1
BE A POD OF DOLPHINS, NOT A DANCING ELEPHANT
How to get Automated Testing "Done"
Develop WebDriver Automated Tests—and Keep Your Sanity
Shift left-devoxx-pl
Kanban in Action: Thoughtfully Creating Flow
A systems approach to modern leadership
Page objects in test automation

What's hot (20)

PPTX
Approval Tests in Action: A LEGO Exercise and an Experience Report
PDF
Kanban and DevOps
PPTX
Developer Night Opticon 2017
PPTX
Optimizely NYC Developer Meetup - Experimentation at Blue Apron
PDF
AI and Machine Learning for Testers
PDF
Instill a DevOps Testing Culture in Your Team and Organization
PDF
Integration Testing in Enterprises using TaaS
PDF
Screenplay - Next generation automated acceptance testing
PPTX
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
PPTX
[Final] SMX Virtual - Emily Potter 2020
PDF
Build the "right" regression suite using Behavior Driven Testing (BDT)
PDF
Build the Right Product Right: Transitioning Test from Critiquing to Defining
PPTX
Diving into the World of Test Automation The Approach and the Technologies
PDF
Test automation - What? Why? How?
PDF
Build the "right" regression suite using Behavior Driven Testing (BDT)
PDF
Quality and Testing of AI Algorithms - Enterprise Deep Learning
PPTX
Developer Night - Opticon18
PPTX
Test-Driven Development
PPTX
Testing in-production
PPTX
Agile testingandautomation
Approval Tests in Action: A LEGO Exercise and an Experience Report
Kanban and DevOps
Developer Night Opticon 2017
Optimizely NYC Developer Meetup - Experimentation at Blue Apron
AI and Machine Learning for Testers
Instill a DevOps Testing Culture in Your Team and Organization
Integration Testing in Enterprises using TaaS
Screenplay - Next generation automated acceptance testing
Reaching for Your Quality Stretch Goals: Testing at Realtor.com
[Final] SMX Virtual - Emily Potter 2020
Build the "right" regression suite using Behavior Driven Testing (BDT)
Build the Right Product Right: Transitioning Test from Critiquing to Defining
Diving into the World of Test Automation The Approach and the Technologies
Test automation - What? Why? How?
Build the "right" regression suite using Behavior Driven Testing (BDT)
Quality and Testing of AI Algorithms - Enterprise Deep Learning
Developer Night - Opticon18
Test-Driven Development
Testing in-production
Agile testingandautomation
Ad

Similar to Agile Testing - Testing from Day 1 (20)

PPTX
Agile testing - Testing From Day 1
PDF
A Leaner PMO in The Federal Government
PDF
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
PPTX
Behavioral driven development the compelling story For Testers
PPTX
Agile Truths and Misconceptions Exposed
PPTX
Agile testing MyBTEC
PPTX
Dev ops is more than CI+CD tools
PPTX
Agile Gurugram 2017 | DevOps > CI + CD | Sudipta Lahiri
PDF
Agile testing practice
PDF
Transforming Your QA and Test Team
PDF
How to Build in Quality from Day 1 using Lean QA and Agile Testing
PPTX
Continuous Delivery & Testing Madrid AfterTest
PPTX
The Future of Testing
PDF
Atlassian Summit 2015 Lean QA and Agile Testing
PPTX
E-TAIL QA: Approach to E-commerce testing in an Agile environment
PDF
Scaling Quality by Building it in - Agile Tour Ottawa 2017
PDF
What is Agile Testing? How does Automation help?
PDF
Atlassian user group in itiviti
PDF
Test your own stuff agile testing days usa 2018
PPTX
Closing the Requirements and Testing Loop Webinar
Agile testing - Testing From Day 1
A Leaner PMO in The Federal Government
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
Behavioral driven development the compelling story For Testers
Agile Truths and Misconceptions Exposed
Agile testing MyBTEC
Dev ops is more than CI+CD tools
Agile Gurugram 2017 | DevOps > CI + CD | Sudipta Lahiri
Agile testing practice
Transforming Your QA and Test Team
How to Build in Quality from Day 1 using Lean QA and Agile Testing
Continuous Delivery & Testing Madrid AfterTest
The Future of Testing
Atlassian Summit 2015 Lean QA and Agile Testing
E-TAIL QA: Approach to E-commerce testing in an Agile environment
Scaling Quality by Building it in - Agile Tour Ottawa 2017
What is Agile Testing? How does Automation help?
Atlassian user group in itiviti
Test your own stuff agile testing days usa 2018
Closing the Requirements and Testing Loop Webinar
Ad

More from Fadi Stephan (19)

PDF
The Self Organizing Team Canvas.pdf
PPTX
Managing Technical Debt
PDF
UX in an agile world
PDF
UX in an Agile World
PDF
Fostering self organizing teams
PDF
Agile contracts
PDF
Lean Discovery, Agile Delivery & the DevOps Mindset
PDF
User Story Smells & Anti-patterns
PDF
Agile dashboard
PDF
Techniques for Keeping Retrospectives Effective and Fun
PDF
Managing technical debt notes
PDF
Managing technical debt
PDF
Effective Daily Standups
PDF
Effective Daily Standups
PDF
The Art of Storytelling
PPTX
The Art of Storytelling
PDF
The Art of Storytelling
PPTX
Software Craftsmanship - It's an Imperative
PDF
Software Craftsmanship - It's an Imperative
The Self Organizing Team Canvas.pdf
Managing Technical Debt
UX in an agile world
UX in an Agile World
Fostering self organizing teams
Agile contracts
Lean Discovery, Agile Delivery & the DevOps Mindset
User Story Smells & Anti-patterns
Agile dashboard
Techniques for Keeping Retrospectives Effective and Fun
Managing technical debt notes
Managing technical debt
Effective Daily Standups
Effective Daily Standups
The Art of Storytelling
The Art of Storytelling
The Art of Storytelling
Software Craftsmanship - It's an Imperative
Software Craftsmanship - It's an Imperative

Recently uploaded (20)

PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Spectroscopy.pptx food analysis technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
cuic standard and advanced reporting.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Dropbox Q2 2025 Financial Results & Investor Presentation
Empathic Computing: Creating Shared Understanding
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Review of recent advances in non-invasive hemoglobin estimation
Spectroscopy.pptx food analysis technology
Big Data Technologies - Introduction.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
Digital-Transformation-Roadmap-for-Companies.pptx
Machine Learning_overview_presentation.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
cuic standard and advanced reporting.pdf

Agile Testing - Testing from Day 1

  • 2. While we wait for the session to start, meet your neighbors and discuss … AGILE TESTING @fadistephan | @excellaco | excella.com • Do you currently work on an Agile team? • Does you team include testers? • What testing challenges are you facing?
  • 3. • Consultant @ Excella • Software Development Practice Lead • Scrum Trainer and Coach • 15+ years of experience in software development • Co-organizer of the DC Scrum User Group • @FadiStephan FADI STEPHAN AGILE TESTING @fadistephan | @excellaco | excella.com
  • 4. AGILE TESTING @fadistephan | @excellaco | excella.com Requirement Design Code Test 2 Weeks 2 Weeks 2 Weeks 2 Weeks
  • 5. AGILE TESTING @fadistephan | @excellaco | excella.com 4 Weeks Requirements Design C o o o o o o o o o o o o o o o o o o o o o o o o o d e Test
  • 6. AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com 2 Weeks Requirement Design Code Test 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
  • 8. AGILE TESTING @fadistephan | @excellaco | excella.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 | @excellaco | excella.com
  • 14. WHAT KIND OF TESTING? AGILE TESTING @fadistephan | @excellaco | excella.com
  • 15. 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 | @excellaco | excella.com
  • 16. 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 | @excellaco | excella.com
  • 17. WHICH TESTS DO WE AUTOMATE? AGILE TESTING @fadistephan | @excellaco | excella.com
  • 18. 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 | @excellaco | excella.com
  • 19. HOW MANY OF EACH TYPE? AGILE TESTING @fadistephan | @excellaco | excella.com
  • 20. Testing Pyramid AGILE TESTING @fadistephan | @excellaco | excella.com Unit Tests Integration/System Tests Functional Tests UI Tests Manual
  • 21. WHEN DO WE START TESTING? AGILE TESTING @fadistephan | @excellaco | excella.com
  • 22. Task Board AGILE TESTING @fadistephan | @excellaco | excella.com To Do In Progress Testing Done User Story User Story User Story Task Task Task Task Task Task Task Task Task
  • 23. TESTING IS NOT A PHASE AGILE TESTING @fadistephan | @excellaco | excella.com
  • 24. Task Board AGILE TESTING @fadistephan | @excellaco | excella.com To Do In Progress Done User Story User Story User Story Task Task Task Task Task Task Task Task Task
  • 25. WHO IS DOING THE TESTING? AGILE TESTING @fadistephan | @excellaco | excella.com
  • 26. TESTING IS EVERYONE’S RESPONSIBILITY AGILE TESTING @fadistephan | @excellaco | excella.com
  • 27. 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 | @excellaco | excella.com
  • 28. AGILE TESTING @fadistephan | @excellaco | excella.com Think Test Code Refactor Test Driven Development
  • 29. Testing Pyramid AGILE TESTING @fadistephan | @excellaco | excella.com Unit Tests Integration/System Tests Functional Tests UI Tests Manual
  • 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 | @excellaco | excella.com
  • 31. AGILE TESTING @fadistephan | @excellaco | excella.com
  • 32. AGILE TESTING @fadistephan | @excellaco | excella.com
  • 34. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 35. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 36. AGILE TESTING @fadistephan | @excellaco | excella.com As a potential 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
  • 37. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 38. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 39. AGILE TESTING @fadistephan | @excellaco | excella.com PASS REFACTOR CODE FAIL FAIL PASS Automated Acceptance Test Automated Unit Test User Story Acceptance Criteria Back
  • 40. 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 | @excellaco | excella.com
  • 41. DO NOT DO FUNCTIONAL TESTING VIA THE UI AGILE TESTING @fadistephan | @excellaco | excella.com
  • 42. AGILE TESTING @fadistephan | @excellaco | excella.com Business Layer Web Layer Browser Data Layer Code Code Code Code Code Code
  • 43. 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 | @excellaco | excella.com
  • 44. USABILITY TESTING AGILE TESTING @fadistephan | @excellaco | excella.com
  • 45. AGILE TESTING @fadistephan | @excellaco | excella.com
  • 46. AGILE TESTING @fadistephan | @excellaco | excella.com
  • 47. AGILE TESTING @fadistephan | @excellaco | excella.com
  • 48. AGILE TESTING @fadistephan | @excellaco | excella.com Credit: John Bellomy
  • 49. AGILE TESTING @fadistephan | @excellaco | excella.com Credit: John Bellomy
  • 51. EXPLORATORY TESTING IS NOT AD-HOC TESTING AGILE TESTING @fadistephan | @excellaco | excella.com
  • 52. EXPLORATORY TESTING IS NOT EXHUASTIVE TESTING AGILE TESTING @fadistephan | @excellaco | excella.com
  • 53. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 54. AGILE TESTING @fadistephan | @excellaco | excella.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
  • 55. 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 | @excellaco | excella.com
  • 56. 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 | @excellaco | excella.com