SlideShare une entreprise Scribd logo
1  sur  56
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

Contenu connexe

Tendances

Integration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaSIntegration Testing in Enterprises using TaaS
Integration Testing in Enterprises using TaaS
Anand Bagmar
 

Tendances (20)

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

Similaire à Agile Testing - Testing from Day 1

KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
KeytorcTestTalks #11 - Onur Başkirt, Agile Test Management with Testrail
Keytorc Software Testing Services
 

Similaire à Agile Testing - Testing from Day 1 (20)

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

Plus de Fadi Stephan

Techniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and FunTechniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and Fun
Fadi Stephan
 
Managing technical debt notes
Managing technical debt notesManaging technical debt notes
Managing technical debt notes
Fadi Stephan
 
Managing technical debt
Managing technical debtManaging technical debt
Managing technical debt
Fadi Stephan
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
Fadi Stephan
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
Fadi Stephan
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
Fadi Stephan
 

Plus de Fadi Stephan (19)

The Self Organizing Team Canvas.pdf
The Self Organizing Team Canvas.pdfThe Self Organizing Team Canvas.pdf
The Self Organizing Team Canvas.pdf
 
Managing Technical Debt
Managing Technical DebtManaging Technical Debt
Managing Technical Debt
 
UX in an agile world
UX in an agile worldUX in an agile world
UX in an agile world
 
UX in an Agile World
UX in an Agile WorldUX in an Agile World
UX in an Agile World
 
Fostering self organizing teams
Fostering self organizing teamsFostering self organizing teams
Fostering self organizing teams
 
Agile contracts
Agile contractsAgile contracts
Agile contracts
 
Lean Discovery, Agile Delivery & the DevOps Mindset
Lean Discovery, Agile Delivery & the DevOps MindsetLean Discovery, Agile Delivery & the DevOps Mindset
Lean Discovery, Agile Delivery & the DevOps Mindset
 
User Story Smells & Anti-patterns
User Story Smells & Anti-patternsUser Story Smells & Anti-patterns
User Story Smells & Anti-patterns
 
Agile dashboard
Agile dashboardAgile dashboard
Agile dashboard
 
Techniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and FunTechniques for Keeping Retrospectives Effective and Fun
Techniques for Keeping Retrospectives Effective and Fun
 
Managing technical debt notes
Managing technical debt notesManaging technical debt notes
Managing technical debt notes
 
Managing technical debt
Managing technical debtManaging technical debt
Managing technical debt
 
Effective Daily Standups
Effective Daily StandupsEffective Daily Standups
Effective Daily Standups
 
Effective Daily Standups
Effective Daily StandupsEffective Daily Standups
Effective Daily Standups
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
 
The Art of Storytelling
The Art of StorytellingThe Art of Storytelling
The Art of Storytelling
 
Software Craftsmanship - It's an Imperative
Software Craftsmanship - It's an ImperativeSoftware Craftsmanship - It's an Imperative
Software Craftsmanship - It's an Imperative
 
Software Craftsmanship - It's an Imperative
Software Craftsmanship - It's an ImperativeSoftware Craftsmanship - It's an Imperative
Software Craftsmanship - It's an Imperative
 

Dernier

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Dernier (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
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
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
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
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

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