Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Test-Driven Design
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
isa
January 08, 2013
Programming
190
2
Share
Test-Driven Design
The main idea behind TDD, why it matters, and how to do it
isa
January 08, 2013
More Decks by isa
See All by isa
Introduction to Functional Programming
isa
2
370
Innovative Thinking
isa
1
99
We are ThoughtWorks
isa
0
290
Hala Bireysellik mi?
isa
1
84
Agile Estimation & Agile Metrics
isa
1
270
Microservices
isa
13
540
Configuration Management
isa
2
150
Assuring Quality in Borsa Istanbul
isa
2
93
Software Development in the Wild
isa
4
130
Other Decks in Programming
See All in Programming
2026-04-15 Spring IO - I Can See Clearly Now
jonatan_ivanov
1
200
実用!Hono RPC2026
yodaka
2
310
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
170
JCON - Create Agentic AI Apps, The Easy Way!
kdubois
1
110
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
「なんか〇〇ライブラリで脆弱性あるみたいなんだけど。。。」から始める脆弱性対応 / First Steps in Vulnerability Response
mackey0225
2
120
空間オーディオの活用
objectiveaudio
0
150
AI時代になぜ書くのか
mutsumix
0
390
20260514_its_the_context_window_stupid.pdf
heita
0
980
t *testing.T は どこからやってくるの?
otakakot
1
930
SkillsをS3 Filesに置く時のあれこれ
watany
3
1.5k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
410
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
Information Architects: The Missing Link in Design Systems
soysaucechin
0
920
Facilitating Awesome Meetings
lara
57
6.8k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
440
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
230
Evolving SEO for Evolving Search Engines
ryanjones
0
190
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Transcript
Test-Driven Design for dummies
Agenda • What is TDD? • Why TDD? • For
the first time • More beginner style (tomorrow) • What about legacy? (on Friday)
Testing in General http://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-32-02-metablogapi/8054.image_5F00_thumb_5F00_35C6E986.png
What is TDD • Test-Driven what? • They don’t show
you how to write software in school, ‘coz they don’t know either • How to be professional like this?
What is TDD • It’s actually one simple rule: •
Specify what the code should do, and make it happen • Repeat it! • It’s about how you want to use your unit • Tests are side-effects
Red-Green-Refactor RED GREEN REFACTOR
It’s THE Design http://blog.myedonline.com/wp-content/uploads/2012/06/trying_to_find_X.jpg simplicity really matters
Why TDD • Use your brain before your fingers •
Because you are not that smart, remember “dummies” ;) • It’s a safety-net • It helps you remember things, and why you do them • Out-of-the-box regression
Unless http://farm7.static.flickr.com/6193/6152609977_32902aa668.jpg You wanna be like him?
Unless or him?
Time We don’t have time to NOT write TESTS http://www.typemock.com/blog/2009/03/05/the-cost-of-test-driven-development/
Cost And these guys are from Micro$oft ;) http://www.typemock.com/blog/2009/03/05/the-cost-of-test-driven-development/
What About Feedback http://www.care-marketing-advice.com/wp-content/uploads/2012/07/fast-response-feedback-questionnaire.jpg
Is It Difficult • Not really? • It’s a discipline
• And still difficult? Then do it more often..
Let’s Practice