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
TDD for NUS Hackers
Search
Andy Croll
February 12, 2012
Programming
640
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
More Decks by Andy Croll
See All by Andy Croll
ActiveJob: A Service Oriented Architecture?
andycroll
2
290
Email Elevator Pitch
andycroll
1
150
ImpulseFlyer: Travel Website in the Cloud
andycroll
2
200
Email - Ugly, Ignored, Forgotten and Misunderstood (CM3)
andycroll
3
300
ReddotRubyConf 2012
andycroll
1
110
Email - Ugly, Ignored, Forgotten and Misunderstood
andycroll
6
360
Startup Weekend Advice: Build Quickly
andycroll
2
1.2k
A Career in Software Engineering: What I Wish I Knew
andycroll
2
390
Responsive Web Design (reprise)
andycroll
5
290
Other Decks in Programming
See All in Programming
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
530
Laravelで学ぶ Webアプリケーションチューニング入門/web_application_tuning_101
hanhan1978
4
1.9k
5分で問診!Composer セキュリティ健康診断
codmoninc
0
1k
PHP に部分適用が来るぞ!……ところで何それ?おいしいの? #phpcon / phpcon-2026
shogogg
0
680
Built Our Own Background Agent at LayerX
layerx
PRO
10
5.6k
What's New in Android 2026
veronikapj
0
260
AIを紡ぐPMのお話
swdtkuy
0
110
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
470
AI Engineeringは、AIプロダクトだけのものか? 〜AIがソフトウェアを作る時代の新しい当たり前〜 / No AI in your product. AI Engineering in your development.
rkaga
4
460
属人化した知識を、 AIが辿れる地図にする
pkshadeck
PRO
1
180
20260722_microCMSで考える、AI時代のコンテンツ運用設計
yosh1
0
420
型も通る、synthも通る、それでも危ない 〜AIのCDKの権限とコストを機械で検証する〜 / It Passes Type Checks, It Passes Synth Checks, but It’s Still Risky — Automatically Verifying Permissions and Costs in AI’s CDK —
seike460
PRO
1
560
Featured
See All Featured
Amusing Abliteration
ianozsvald
1
250
A designer walks into a library…
pauljervisheath
211
24k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
470
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
800
Discover your Explorer Soul
emna__ayadi
2
1.3k
Balancing Empowerment & Direction
lara
6
1.2k
Done Done
chrislema
186
16k
How GitHub (no longer) Works
holman
316
150k
Mobile First: as difficult as doing things right
swwweet
225
10k
Mind Mapping
helmedeiros
PRO
1
320
Transcript
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