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
SRE、開発、QAが協業して挑んだリリースプロセス改革@SRE Kaigi 2025
nealle
3
4.1k
DROBEの生成AI活用事例 with AWS
ippey
0
130
Introduction to kotlinx.rpc
arawn
0
630
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
Immutable ActiveRecord
megane42
0
130
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
GAEログのコスト削減
mot_techtalk
0
110
最近のVS Codeで気になるニュース 2025/01
74th
1
250
CloudNativePGがCNCF Sandboxプロジェクトになったぞ! 〜CloudNativePGの仕組みの紹介〜
nnaka2992
0
220
sappoRo.R #12 初心者セッション
kosugitti
0
230
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
150
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
10
1.8k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Navigating Team Friction
lara
183
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Site-Speed That Sticks
csswizardry
3
370
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
31
2.1k
Fireside Chat
paigeccino
34
3.2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
Building Flexible Design Systems
yeseniaperezcruz
328
38k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Typedesign – Prime Four
hannesfritz
40
2.5k
Automating Front-end Workflow
addyosmani
1367
200k
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?