Gáspár Nagy coach • trainer • bdd addict • creator of specflow @gasparnagy • [email protected] Everything you MUST know about agile testers HUSTEF Budapest • 18/11/2015
Gáspár Nagycoach • trainer • bdd addict • creator of specflow
@gasparnagy • [email protected]
Everything you MUST know about agile testers
HUSTEF Budapest • 18/11/2015
Copyright © Gaspar Nagy
Are you an agile tester?
Copyright © Gaspar Nagy
Agile testing principles
• Collaboration
• Communication
• Transparency
• Being part of the specification
• Subjective testing techniques (e.g. exploratory testing)
• Integration to the delivery team
Being part of the specification
Copyright © Gaspar Nagy
Specify with Given/When/Then
Collaboration
Copyright © Gaspar Nagy
Did you feel like an equal member?
Yes… equally unhappy
Copyright © Gaspar Nagy
revolution
Copyright © Gaspar Nagy
Bug Hunting → Bug Prevention
Copyright © Gaspar Nagy
Requirements vs. Tests
As formality increases, tests and requirements become indistinguishable. At the limit, tests and requirements are equivalent.
Equivalence Hypothesis (Martin, Melnik)
Pic: Martin/Melnik: Requirements and Tests
Copyright © Gaspar Nagy
Specification-By-Example
Example Tests
Specifications
consist of
describe validate fulfillment
Source: Gojko Adzic – Bridging the Communication Gap
Copyright © Gaspar Nagy
Team Foundation Server Version Control
TeamFoundation Server Workitems
SpecLog
Story Maps
Product Backlog
SprintBacklog
Task Board
SpecFlow ScenariosTest-auto-mation
Product
LivingDocumen-tation
Our Process
Source: TechTalk (www.techtalk.at)
Copyright © Gaspar Nagy
Agile testers duringpreparation…
Copyright © Gaspar Nagy
Develop test strategy
Copyright © Gaspar Nagy
Decide on the automation target
…and manage the consequences
Copyright © Gaspar Nagy
Agile testers during preparation…
• Develop test strategy
• Ensure / verify feasibility of the strategy• (tools, infrastructure, skills)
Copyright © Gaspar Nagy
Agile testers duringplanning…
Copyright © Gaspar Nagy
Finding acceptance criteria
“Imagine this story is
already implemented:
How would you verify
it?”
“I would try to put a book
into the shopping cart …”
“I would try to remove a
book from the shopping
cart…”
“I’d check whether the shopping
cart is empty, when I enter the
shop …”
Shopping cart should be
empty when entering the
shop
Source: TechTalk (www.techtalk.at)
Copyright © Gaspar Nagy
Key examples: Breaking the model
Books in catalogue:
Title Author
Specification-By-Example Gojko Adzic
Impact Mapping Gojko Adzic
Explore It! Elisabeth Hendrickson
Competitive Engineering Tom Gilb
Search for … Books found …
Spec Specification-By-Example
Hend Explore It!
et Explore It!, Competitive Engineering
What happens, if I search for
“Explore Specification”?
Can I search for single
characters, e.g. “e”?
Is the number of search results
limited, or paged?
Is the search also performed in the
sub-title of a book?
Copyright © Gaspar Nagy
Agile testers during planning…
• Help structuring ideas to acceptance criteria
• Find key examples
• Helps deciding if a check should be automated
• Consider edge cases
• Define exploratory testing goals
Copyright © Gaspar Nagy
Agile testers duringSprint…
Copyright © Gaspar Nagy
Formulate business readable tests
Aut.
Aut.
Aut.
Managing baseline (default) data
Visualize systems
Source: TechTalk (www.techtalk.at)
Establish build status indicators
Source: TechTalk (www.techtalk.at)
Copyright © Gaspar Nagy
Agile testers during Sprint…
• Formulate business readable tests (e.g. Gherkin), • right before implementing them
• Support team with continuous verification of stories
• Build new tests from existing building blocks
• Perform AC check
• Help preparing for the demo
• Keep control of default/baseline data
• Ensure that the feedback from the tests is shown to everyone
Copyright © Gaspar Nagy
Agile testers after Sprint…
• Share experience
• Help others to learn about agile testing
Copyright © Gaspar Nagy
revolution
Copyright © Gaspar Nagy
Give the words real meaning!
collaboration
communication
transparency
specification
agile
stake in product
give and take
useful things accessible
by examples
inspect & adapt
May the test results be with you
Source: TechTalk (www.techtalk.at)
Gáspár Nagycoach • trainer • bdd addict • creator of specflow
@gasparnagy • [email protected]
Thank you!