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
5
520
TDD for NUS Hackers
Given on 10th February 2012.
Contains strong opinions and a couple of swears.
Andy Croll
February 12, 2012
Tweet
Share
More Decks by Andy Croll
See All by Andy Croll
ActiveJob: A Service Oriented Architecture?
andycroll
2
220
Email Elevator Pitch
andycroll
1
110
ImpulseFlyer: Travel Website in the Cloud
andycroll
2
180
Email - Ugly, Ignored, Forgotten and Misunderstood (CM3)
andycroll
3
250
ReddotRubyConf 2012
andycroll
1
64
Email - Ugly, Ignored, Forgotten and Misunderstood
andycroll
6
310
Startup Weekend Advice: Build Quickly
andycroll
2
1.1k
A Career in Software Engineering: What I Wish I Knew
andycroll
2
360
Responsive Web Design (reprise)
andycroll
5
260
Other Decks in Programming
See All in Programming
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
1
110
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
330
VS Code をプロダクトにどう取り込むか
onomax
1
360
見た目から始める生産性向上
ikumatadokoro
7
840
Rethinking UI building strategies @ SFI 2024
letelete
0
270
Random\Randomizer クラスで日常のあれこれを解決しよう! / Random\Randomizer class solves familiar trouble
cocoeyes02
0
240
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
エンターテイメント業界で利用されるAWS
demuyan
0
210
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
150
try! Swift Tokyo 初参加報告LT
hinakko2
0
220
新宿ダンジョンを可視化してみた
satoshi7190
2
260
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
322
20k
Fireside Chat
paigeccino
21
2.6k
Facilitating Awesome Meetings
lara
42
5.6k
Raft: Consensus for Rubyists
vanstee
132
6.3k
Docker and Python
trallard
34
2.7k
GraphQLの誤解/rethinking-graphql
sonatard
50
9.2k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
The Language of Interfaces
destraynor
151
23k
Happy Clients
brianwarren
92
6.4k
How to train your dragon (web standard)
notwaldorf
73
5.2k
Documentation Writing (for coders)
carmenintech
60
3.9k
Practical Orchestrator
shlominoach
182
9.7k
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