SlideShare a Scribd company logo
@lisacrispin
Lisa	Crispin
With	content	from	George	Dinwiddie
Copyright	2020	Lisa	Crispin
Behavior-Driven Development
& Continuous Delivery:
How do they fit together?
BDD CD
A	little	about	me
Quality	Owner,	specializing	in	
observability
lisa@agiletester.ca
@lisacrispin
With	Janet	Gregory
New!
@lisacrispin
What	I’ll	talk	about:
● Ways	BDD	can	help	shorten	feedback	loops
● Ways	CD	impacts	BDD
● What	can	your	team	try?
Confidence
@lisacrispin
Behavior-Driven	Development	(BDD)
● Structured	conversations	to	elicit	rules	and	examples
● Results	in	shared	understanding	across	the	team	
● Examples	become	scenarios	to	guide	development
From	
https://cucumber.io/docs/bdd/
@lisacrispin
Continuous	Delivery	/	Deployment	(CD)
● Deploy	small	changes	to	production	frequently	at	a	
sustainable	pace
● Lower	risk
● Faster	feedback
What’s	in	a	deployment	pipeline?
@lisacrispin
It’s	not	really	linear
● Continuous	delivery	is	a	series	of	feedback	loops
● Planning	and	coding	are	part	of	it
Plan, code,
deliver
Deploy, learn,
release
@lisacrispin
How	can	BDD	help	shorten	feedback	loops?
Observing &
Experimenting
Questioning &
Hypothesizing
Analysis
&
Learning
@lisacrispin
“Three	Amigos”	(or	4	or	5)	meetings
● Product	person,	programmer,	tester,	+	designer…
● Structured	conversations	(eg.	example	mapping)
● Purpose,	business	rules,	examples	for	each	story
● Groundwork	for	shared	understanding
Example	Mapping	example
Story	à
Rules	à
Examplesà
Questions
@lisacrispin
Executable	tests	to	guide	development
● Turn	examples	into	test	scenarios	with	expected	
behavior
● Business-readable	specification	
● Can	be	automated	to	provide	regression	test	suites	&	
living	documentation
Other	BDD	benefits
Slice	features	into	small,	
consistently	sized	stories
Explore	how	a	capability	will	
be	used	before	it’s	built
Frequent	deploy	of	
small	changes,	less	risk
Deliver	the	“right	thing”
@lisacrispin
Continuous	Deployment (CD)
Busines
s
approva
l
Compilation/
unit	testing
Create
deployment
artifact
Testing
stage	1
Testing
stage	2
Deployment	Pipeline
Developer
Commit
Deployed	
to
Production
Code	is
merged
(master/trunk)
Continuous	Integration	(CI)
Continuous	Delivery	(CD)
Continuous	Delivery	enhances	BDD
@lisacrispin
Principles	of	CD	support	BDD
● Build	quality	in
● Work	in	small	batches
● Computers	perform	repetitive	tasks,	people	
solve	problems
● Relentlessly	pursue	continuous	improvement
● Everyone	is	responsible
https://continuousdelivery.com
@lisacrispin
Fast	feedback
● From	automated	tests
● From	production	usage
● Use	“learning	releases”	aka	MVPs	to	get	direct	
feedback
○ Manage	access	via	release	feature	toggles,	canary	
releases,	dark	launches
○ Get	usage	metrics,	analyze	errors
@lisacrispin
CD	&	BDD	enable	the	continuous	DevOps	loop
● Learning	from	production	flows	back	to	discovery	
process
● Refine,	delete,	add	small	changes
● Small,	lower-risk	new	changes	that	add	value	flow	
continually	to	production
https://www.quora.com/Is-DevOps-
easy-to-learn
@lisacrispin
How	can	your	team	
take	advantage?
@lisacrispin
Already	practicing	CD,	but	no	BDD?
Try	a	small	experiment!
● Learn	more	about	BDD	(see	resources	list)
● Have	an	amigos	meeting	before	your	next	iteration	
planning	meeting
● Discuss	the	goal,	rules	and	examples	for	each	story
● Before/during	coding,	write	scenarios	based	on	those	
to	guide	development
@lisacrispin
Already	doing	BDD,	but	no	CD?
With	your	whole	team:
● Make	a	visual	map	of	the	path	
to	production
● Start	talking	about	it!
● What	can	you	automate?
● Apply	the	continuous	delivery	
principles
@lisacrispin
Build	relationships
• Get	people	in	every	role/discipline	engaged	in	thinking	
about	quality
• Get	to	know	people	in	and	outside	of	your	team
• Ask	for	help,	offer	help
• Build	trust	so	you	can	learn
@lisacrispin
Building	a	quality	culture
• Transformative	leaders
• Trust	and	psychological	safety
• Whole	team	”owns”	product
• Focus	on	quality,	not	speed
@lisacrispin
Talk	about	it	with	your	team
● How	to	build	shared	
understanding	before	
coding
● How	to	shorten	cycle	time,	
feedback	loops
● How	to	get	value	to	
customers	continually
@lisacrispin
A	few	resources
● Discovery:	Explore	Behavior	Using	Examples,	by	Seb Rose	and	
Gáspár Nagy
● Introducing	Example	Mapping,	by	Matt	Wynne
● Continuous	Delivery,	by	Jez	Humble	and	David	Farley
● A	Practical	Guide	to	Testing	in	DevOps,	by	Katrina	Clokie
● Accelerate	The	Science	of	Lean	Software	and	DevOps,	by	Dr.	
Nicole	Forsgren,	Jez	Humble,	Gene	KIm
● “The	Three	Amigos	— All	For	One	- One	For	All,”	by	George	
Dinwiddie,	Better	Software	
● “The	Three	Amigos	Strategy	of	Developing	User	Stories,”	by	
George	Dinwiddie,	AgileConnection

More Related Content

PDF
Exploring Requirements for Shared Understanding
PDF
Principles for Agile Testers and Modern Testing Principles
PDF
What Does it Mean to Be Helpful? with Scott Abel, The Content Wrangler
PPTX
Be More Strategic - Grace Hopper Conference Oct 2013
PDF
Getting Fit(ness Criteria)
PDF
Agile 2018 Effective Retrospectives
PPTX
Agile DC 2019: Agile Indicators: Start with Questions!
PPTX
Working from the bottom of the backlog - 1% day
Exploring Requirements for Shared Understanding
Principles for Agile Testers and Modern Testing Principles
What Does it Mean to Be Helpful? with Scott Abel, The Content Wrangler
Be More Strategic - Grace Hopper Conference Oct 2013
Getting Fit(ness Criteria)
Agile 2018 Effective Retrospectives
Agile DC 2019: Agile Indicators: Start with Questions!
Working from the bottom of the backlog - 1% day

Similar to BDD and CD - better together (20)

PDF
How BDD enables True CI/CD
PDF
Introduction to TDD and BDD
PPTX
Wednesday Webinar on "Strengthening your Agility with BDD - A demo using Cucu...
PPTX
Topic tdd-and-bdd b4usolution
PDF
An introduction to Behavior-Driven Development (BDD)
PDF
How Bdd Can Save Agile
PPT
BDD communication bridges - Expedia TED talk
PDF
Testing in DevOps: A Complete Guide | Strategies, Tools, Best Practices | Top...
PDF
Collaboration in BDD is not a Given - Sydney Agile BA & PO Meetup - 18-11-2015
PPTX
Behavior-Driven Development (BDD) and Its Impact on Software Testing.pptx
PDF
Continuous Deployment Through Technical Excellence
PPTX
Test Driven Development & CI/CD
PDF
Continues delivery - Introduction
PDF
Five (easy?) Steps Towards Continuous Delivery
PPTX
Agile a to z chapter 4 feedback loop
PDF
Whole team approach to agile testing bdd can help better pune 15th meetup
PDF
Focus: Lean Delivery Workflow
PDF
Behavior Driven Development—A Guide to Agile Practices
PPTX
Prashant technical practices-tdd for xebia event
PPTX
BDD Short Introduction
How BDD enables True CI/CD
Introduction to TDD and BDD
Wednesday Webinar on "Strengthening your Agility with BDD - A demo using Cucu...
Topic tdd-and-bdd b4usolution
An introduction to Behavior-Driven Development (BDD)
How Bdd Can Save Agile
BDD communication bridges - Expedia TED talk
Testing in DevOps: A Complete Guide | Strategies, Tools, Best Practices | Top...
Collaboration in BDD is not a Given - Sydney Agile BA & PO Meetup - 18-11-2015
Behavior-Driven Development (BDD) and Its Impact on Software Testing.pptx
Continuous Deployment Through Technical Excellence
Test Driven Development & CI/CD
Continues delivery - Introduction
Five (easy?) Steps Towards Continuous Delivery
Agile a to z chapter 4 feedback loop
Whole team approach to agile testing bdd can help better pune 15th meetup
Focus: Lean Delivery Workflow
Behavior Driven Development—A Guide to Agile Practices
Prashant technical practices-tdd for xebia event
BDD Short Introduction
Ad

More from lisacrispin (20)

PDF
Get testing bottlenecks out of your pipelines
PDF
Thinking Outside the Box: Cognitive bias and testing
PDF
The Whole Team Approach to Quality in Continuous Delivery
PDF
DeliveryConf - Whole Team Approach to Testing in Continuous Delivery
PDF
ALN Houston - "Build Quality In: Guiding Development with Tests"
PDF
Agile Requirements Exploration: How Testers Add Value
PDF
Do testers have to code... to be useful?
PDF
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
PPTX
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
PPTX
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
PDF
Advanced Topics in Agile Tsting: Focus on Automation
PDF
Do testers have to code... to be useful?
PDF
Build Your Agile Testing Skill Set
PDF
Making Test Automation Work in Agile Projects 2012
PDF
What Testers Can Learn to Collaborate Effectively with Programmers, others
PDF
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
PDF
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
PDF
Morph your mindset for Continuous Delivery, Agile Roots 2014
PDF
Belgium Testing Days: Shift your testing mindset
PDF
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Get testing bottlenecks out of your pipelines
Thinking Outside the Box: Cognitive bias and testing
The Whole Team Approach to Quality in Continuous Delivery
DeliveryConf - Whole Team Approach to Testing in Continuous Delivery
ALN Houston - "Build Quality In: Guiding Development with Tests"
Agile Requirements Exploration: How Testers Add Value
Do testers have to code... to be useful?
Agile 20015 Boot Camp: Intro to Agile Testing - Everyone Owns Quality
Build Quality In, workshop with Janet Gregory and Lisa Crispin at Agile Roots...
Do testers have to code... to be useful? Janet Gregory and Lisa Crispin plena...
Advanced Topics in Agile Tsting: Focus on Automation
Do testers have to code... to be useful?
Build Your Agile Testing Skill Set
Making Test Automation Work in Agile Projects 2012
What Testers Can Learn to Collaborate Effectively with Programmers, others
Advanced Topics in Agile Testing - The Future - Agile Testing Days 2014
Welcome to the Future! Preparing for our agile testing journeys, Agile Testin...
Morph your mindset for Continuous Delivery, Agile Roots 2014
Belgium Testing Days: Shift your testing mindset
Changing Your Testing Mindset, Booster Conference, Bergen, Norway, 2014
Ad

Recently uploaded (20)

PDF
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
PPTX
1. Introduction to Computer Programming.pptx
PDF
Hybrid model detection and classification of lung cancer
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Mushroom cultivation and it's methods.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
Zenith AI: Advanced Artificial Intelligence
PDF
Approach and Philosophy of On baking technology
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
cloud_computing_Infrastucture_as_cloud_p
PDF
August Patch Tuesday
PDF
Encapsulation theory and applications.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
project resource management chapter-09.pdf
DASA ADMISSION 2024_FirstRound_FirstRank_LastRank.pdf
1. Introduction to Computer Programming.pptx
Hybrid model detection and classification of lung cancer
Group 1 Presentation -Planning and Decision Making .pptx
Assigned Numbers - 2025 - Bluetooth® Document
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Mushroom cultivation and it's methods.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Zenith AI: Advanced Artificial Intelligence
Approach and Philosophy of On baking technology
A comparative analysis of optical character recognition models for extracting...
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
cloud_computing_Infrastucture_as_cloud_p
August Patch Tuesday
Encapsulation theory and applications.pdf
A Presentation on Artificial Intelligence
NewMind AI Weekly Chronicles - August'25-Week II
project resource management chapter-09.pdf

BDD and CD - better together