Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
TDD for NUS Hackers
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Andy Croll
February 12, 2012
Programming
650
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDD for NUS Hackers
Given on 10th February 2012.
Contains strong opinions and a couple of swears.
Andy Croll
February 12, 2012
Transcript
16 slides
this is why we test and you should too
hello. @andycroll andycroll.com andy@impulseflyer.com
[email protected]
the way to build software they don’t show you in
school ‘cos they don’t know
imagine all the people... not clicking through their whole websites
when they deploy
agile scrum kanban extreme programming tdd bdd simply be a
fucking professional
it’s actually simple specify what the code should do then
make it do that
then do it again and again
now a demo
red green refactor
unit tests for your models integration tests for the whole
stack
engage your brain before your hands
break a big problem down into pieces manageable brain chunks
write the api first better, simpler code first time
naming things more important than you think code as documentation
confidence coding has rhythm immediate feedback protect against breakage you
become a craftsman
ruby Test::Unit MiniTest RSpec java JUnit JBehave Jtest python PyUnit
DocTest
come to this reddotrubyconf.com @reddotrubyconf $99
More Decks by Andy Croll
See All by Andy Croll
ActiveJob: A Service Oriented Architecture?
andycroll
2
310
Email Elevator Pitch
andycroll
1
160
ImpulseFlyer: Travel Website in the Cloud
andycroll
2
210
Email - Ugly, Ignored, Forgotten and Misunderstood (CM3)
andycroll
3
310
ReddotRubyConf 2012
andycroll
1
120
Email - Ugly, Ignored, Forgotten and Misunderstood
andycroll
6
370
Startup Weekend Advice: Build Quickly
andycroll
2
1.2k
A Career in Software Engineering: What I Wish I Knew
andycroll
2
410
Responsive Web Design (reprise)
andycroll
5
300
Other Decks in Programming
See All in Programming
Debian JP Projectのサーバー構成
uwabami
1
130
AI Augmentation Techniques with Liberty
ivargrimstad
1
520
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
Scalaの型でマルチテナントの認可を守る
nextbeatdev
0
160
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6k
DroidKnights 2026 Android A2UI Jetpack Compose 기반의 안전한 AI UI 렌더링 - 박제창
itsmedreamwalker
1
250
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
260
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
920
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
200
AI-Powered Domain-Driven Design
ziobrando
0
460
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
310
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
210
Featured
See All Featured
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Evolving SEO for Evolving Search Engines
ryanjones
0
360
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
750
Code Review Best Practice
trishagee
74
20k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
990
How Software Deployment tools have changed in the past 20 years
geshan
3
35k
The Curious Case for Waylosing
cassininazir
1
610
The Cost Of JavaScript in 2023
addyosmani
56
10k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570