SlideShare a Scribd company logo
BDD is not about
test automation, it’s
about testing what
you don’t know
How to drive your product development with BDD
Axel Wilhelm Berle
axelberle@gmail.com
LinkedIn: axel-berle-5a86651/
Global Scrum Gathering Austin 2019
45 minutes
● Share a new way to conduct your refinement sessions
● Decide later if later if you want to go BDD all the way
45 minutes
Part 1: 10 minutes - some theory of course
Part 2: 30 minutes - how to actually do it!
Part 3: 5 minutes - questions?
Who are you?
Axel?
Axl Rose?
Axl Rose?
Axel - Why am I here today
● I have lived in Brazil since 1996
Axel - Why am I here today
● I have lived in Brazil since 1996
● On the agile journey since 2011
Axel - Why am I here today
● I have lived in Brazil since 1996
● On the agile journey since 2011
● 2015 started working as a trainer and coach
Axel - Why am I here today
● I have lived in Brazil since 1996
● On the agile journey since 2011
● 2015 started working as a trainer and coach
● Focussing on “agile quality”
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
How many points in a 5-point star?
http://gojko.net/2008/08/29/how-many-points-are-there-in-a-five-point-star/
How many points in a 5-point star?
There is no right answer
http://gojko.net/2008/08/29/how-many-points-are-there-in-a-five-point-star/
How many points in a 5-point star?
the one that the business people
thought of
Gojko: Bridging the communication gap
Pitfalls of BDD
Pitfalls of BDD
● Developers!
GIVEN a customer named Astrid living in Frankfurt
WHEN Astrid clicks on the menu item "SKIRTS"
AND she clicks on "Cute Red Mini Skirt from D&G"
AND she clicks on the "put into basket" button
AND she clicks on "Checkout"
THEN the message "no delivery charged" should
appear in the right corner
What’s wrong here?
What’s wrong here?
● Badly written UI-bound test
What’s wrong here?
● Badly written UI-bound test
● Bad documentation
Not Test-First!
● When you write test AFTER developing
the feature, then you are doing it wrong!
Not Test-First!
● When you write test AFTER developing
the feature, then you are doing it wrong!
● it is about discovering the right number of points in
our star!
BDD is an approach for
exploring and designing
requirements
Test First
?
How did it all start?
BDD is not about test automation, it's about testing what you don't know
eXtreme Programming
Test
Driven
Development
Kent Beck
eXtreme Programming
● Since testing is good,
let’s push it to the
extreme
● Let’s test even before
actually programming
public int add(int a, int b) {
return null;
}
@Test
public void should_return_sum_of_two_numbers() {
int a = 2;
int b = 3;
int result = add(a, b);
}
@Test
public void should_return_sum_of_two_numbers() {
int a = 2;
int b = 3;
int result = add(a, b);
if (result == 5) {
// it works as expected!
}
else {
// not there yet!
}
}
public int add(int a, int b) {
return a + b;
}
Testing
==
Illustrate the desired behavior of a
component with a concrete example
BDD is not about test automation, it's about testing what you don't know
automated
tests
automated
tests
Implemen-
tation
Are we building the
right product?
BDD is not about test automation, it's about testing what you don't know
BDD
Behavior
Driven
Development
Dan North
Dan’s vision:
TDD on
business level
BDD is not about test automation, it's about testing what you don't know
specification
automated
tests
specification
automated
tests
specification
Implemen-
tation
BDD Product Increment
Frameworks
automat
ed
tests
specification
Impleme
n-
tation
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
So how to make it happen?
Gojko Adzic
Specification By Example
Gojko Adzic
Specification By Example
1. Focus on looking for examples
Specification By Example
1. Focus on looking for examples
2. Formalize key examples
Specification By Example
1. Focus on looking for examples
2. Formalize key examples
3. Write acceptance tests based on
the examples
Product Backlog
Refinement
with BDD
Unholy trinity of Backlog Refinement
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
You are doing it
wrong!
Backlog Refinement
is really about
Learning
William Glasser
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD patterns: 3 Amigos
Participatory Teaching Methods
● Learning 3.0 concepts
● World-Cafe format
● Less Cross-Team Refinements
BDD Technique: Example Mapping
https://cucumber.io/blog/example-mapping-introduction/
Scaled Example Mapping
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
In real life
Closing
Scaled Example Mapping
Scaled Example Mapping
● No notebooks
● No Jira
● No cellphones
Formalize key examples
Template for an Examples
Template for an Examples
Context
Template for an Examples
Business Action
or Event
Template for an Examples
Outcome
Template for an Examples
Title
Let’s have some examples!
TrucoSimulator
Truco-Business Rule
● If a player wins a round, he normally gets 1 point.
● But a player can challenge the opponent by calling
“Truco”. In that case the stake rises to 3 points.
● If the opponent accepts the Truco and loses, the
player get the 3 points.
● If the opponent “folds”, the one calling the Truco get
1 point, without even showing his cards!
● If the opponent accepts the Truco and wins, than
the opponent gets the 3 points!
Boring!
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
Title
BDD is not about test automation, it's about testing what you don't know
BDD is not about test automation, it's about testing what you don't know
Workshop at Agile Trends 2019
Workshop at Agile Trends 2019
Workshop at Agile Trends 2019
Some interesting results
● Truco != Truco
● Gato == Zap == Zorro
Formalize with Gherkin
Formalize with Gherkin Title
Formalize with Gherkin
Context
Formalize with Gherkin
Action
Formalize with Gherkin
Outcome
BDD is not about test automation, it's about testing what you don't know
Glue-Code looks like this...
Benefits of BDD refinement
workshops
● Learning through real engagement
● More fun refinements
● Works with larger crowds
● Leverages diversity and perspectives
● Ownership of solution
● PO delegating work to development teams
References:

More Related Content

PDF
What I learned interviewing for front-end developer roles
PPT
Successful Teams follow Standards
DOC
Ha5 project charter_task_1
PDF
Développeur: Quelles compétences clés faut-il maîtriser pour être meilleur?
PPTX
What We Talk About When We Talk About Agile (an introduction)
PDF
Introduction to architecture katas
PDF
Tdd - Test Driven Development
PPTX
Design Thinking in the Product Development Process - Product tank oxford
What I learned interviewing for front-end developer roles
Successful Teams follow Standards
Ha5 project charter_task_1
Développeur: Quelles compétences clés faut-il maîtriser pour être meilleur?
What We Talk About When We Talk About Agile (an introduction)
Introduction to architecture katas
Tdd - Test Driven Development
Design Thinking in the Product Development Process - Product tank oxford

Similar to BDD is not about test automation, it's about testing what you don't know (20)

PDF
Cracking the Interview Skills (Coding, Soft Skills, Product Management) Handouts
PPTX
Paul Ellarby - Why do scrum?
PPTX
Failing With Agile
PPTX
Journey to Google
PDF
Karat at CMU
PDF
Limits of Machine Learning
PDF
Simple & Practical Project Management for Digital Marketing Teams
PDF
How to play & win the product management career game
PDF
Validating big data jobs - Spark AI Summit EU
PDF
Tips for data science competitions
PDF
TDD and Simple Design Workshop - Session 1 - March 2019
PPTX
Cepstrum Placement Talk 2022.pptx
PDF
30-Day Google PM Interview Study Guide
PDF
Write More Durable Code: Principles and Techniques
PPTX
Failing the coding interview
PPTX
Nobody is qualified! How do you create your own talent pool? | Talent Connect...
PPTX
Activate Agile 2014 : roles, activities, behaviours in Agile Projects
PDF
Validating Big Data Jobs—Stopping Failures Before Production on Apache Spark...
PDF
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
PPTX
How to build a startup?
Cracking the Interview Skills (Coding, Soft Skills, Product Management) Handouts
Paul Ellarby - Why do scrum?
Failing With Agile
Journey to Google
Karat at CMU
Limits of Machine Learning
Simple & Practical Project Management for Digital Marketing Teams
How to play & win the product management career game
Validating big data jobs - Spark AI Summit EU
Tips for data science competitions
TDD and Simple Design Workshop - Session 1 - March 2019
Cepstrum Placement Talk 2022.pptx
30-Day Google PM Interview Study Guide
Write More Durable Code: Principles and Techniques
Failing the coding interview
Nobody is qualified! How do you create your own talent pool? | Talent Connect...
Activate Agile 2014 : roles, activities, behaviours in Agile Projects
Validating Big Data Jobs—Stopping Failures Before Production on Apache Spark...
Emily Bache - Readable, Executable Requirements: Hands-On - EuroSTAR 2013
How to build a startup?
Ad

Recently uploaded (20)

PPTX
Transform Your Business with a Software ERP System
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PPTX
L1 - Introduction to python Backend.pptx
PDF
medical staffing services at VALiNTRY
PDF
Digital Systems & Binary Numbers (comprehensive )
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
assetexplorer- product-overview - presentation
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Nekopoi APK 2025 free lastest update
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
Transform Your Business with a Software ERP System
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Upgrade and Innovation Strategies for SAP ERP Customers
L1 - Introduction to python Backend.pptx
medical staffing services at VALiNTRY
Digital Systems & Binary Numbers (comprehensive )
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Internet Downloader Manager (IDM) Crack 6.42 Build 41
assetexplorer- product-overview - presentation
wealthsignaloriginal-com-DS-text-... (1).pdf
How to Migrate SBCGlobal Email to Yahoo Easily
Operating system designcfffgfgggggggvggggggggg
Softaken Excel to vCard Converter Software.pdf
Designing Intelligence for the Shop Floor.pdf
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Nekopoi APK 2025 free lastest update
Navsoft: AI-Powered Business Solutions & Custom Software Development
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
Ad

BDD is not about test automation, it's about testing what you don't know