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 Coffeescript Development @ sthlm.js
Search
jede
December 06, 2011
Programming
5
270
Test Driven Coffeescript Development @ sthlm.js
A talk about TDD, why it matters, and how to do it with jasmine and coffeescript.
jede
December 06, 2011
Tweet
Share
More Decks by jede
See All by jede
View without Action @ SHRUG
jede
1
94
Other Decks in Programming
See All in Programming
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
450
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
160
Hotwire or React? ~アフタートーク・本編に含めなかった話~ / Hotwire or React? after talk
harunatsujita
1
110
Jakarta EE meets AI
ivargrimstad
0
110
Click-free releases & the making of a CLI app
oheyadam
2
100
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
250
リリース8年目のサービスの1800個のERBファイルをViewComponentに移行した方法とその結果
katty0324
5
4.2k
受け取る人から提供する人になるということ
little_rubyist
0
180
Tuning GraphQL on Rails
pyama86
2
1.2k
Ethereum_.pdf
nekomatu
0
380
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
470
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
15
2k
Agile that works and the tools we love
rasmusluckow
327
21k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Building an army of robots
kneath
302
42k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
How to Ace a Technical Interview
jacobian
276
23k
Writing Fast Ruby
sferik
627
61k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Transcript
TEST DRIVEN COFFEESCRIPT DEVELOPMENT Johannes Edelstam @jede
None
None
TEST DRIVEN REALLY?
RULES!
CODE TO PASS A FAILING TEST 1
TEST CODE TO MAKE A TEST FAIL 2
JUST ENOUGH CODE TO MAKE A TEST PASS 3
RED ➢ GREEN ➢ REFACTOR
I DON’T CARE
None
None
None
ULTRA MODERN WEB PLATFORM HIP START UP SINGLE PAGE
THE EVERYDAY WEB PAGE
BUT MY USE CASE IS SO FREAK’N SIMPLE THIS WOULD
JUST BE SILLY “
THEN IT WOULD BE QUITE EASY TO TEST, EH?
OK, BUT AT LEAST THINK ABOUT THE USERS
TOOLS • COFFEESCRIPT • JASMINE • JASMINE-JQUERY • JASMINE-HEADLESS-WEBKIT
DEMO!
SO NOW I GO HOME AND TEST?