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
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
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
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
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
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
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