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
280
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
100
Other Decks in Programming
See All in Programming
AtCoder Conference 2025
shindannin
0
1.1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
Architectural Extensions
denyspoltorak
0
280
CSC307 Lecture 04
javiergs
PRO
0
660
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
CSC307 Lecture 02
javiergs
PRO
1
770
疑似コードによるプロンプト記述、どのくらい正確に実行される?
kokuyouwind
0
380
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Done Done
chrislema
186
16k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
Technical Leadership for Architectural Decision Making
baasie
1
240
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
How Software Deployment tools have changed in the past 20 years
geshan
0
32k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
Utilizing Notion as your number one productivity tool
mfonobong
3
220
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
110
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
79
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?