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
Andy Croll
February 12, 2012
Programming
660
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
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
AppFunctionsの内部実装を紐解く
hiroaki404
0
120
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
180
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
420
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
700
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
340
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
220
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
160
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
210
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
260
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.2k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Believing is Seeing
oripsolob
1
290
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
Navigating Weather and Climate Data
rabernat
0
600
Agile that works and the tools we love
rasmusluckow
331
22k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
640
Prompt Engineering for Job Search
mfonobong
0
610
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.3k