Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Test Driven Coffeescript Development @ sthlm.js
Search
jede
December 06, 2011
Programming
310
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
More Decks by jede
See All by jede
View without Action @ SHRUG
jede
1
120
Other Decks in Programming
See All in Programming
『寄り添うラジオ』をAIで作る 体験価値から逆算した、会話しないUXと品質設計
theoriatec2024
3
180
Streamlitで実現する自然言語データアプリ開発
ayumu_yamaguchi
1
290
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
420
速習iPhone Duo対応
yuukiw00w
1
660
スマート反転とウェブアクセシビリティ
camiha
0
210
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
280
The Good Stuff, Not the Slop: Engineering High-Quality Android Apps with Modern AI Tooling
danybony
1
260
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
150
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
260
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
1
490
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
620
Security issues being discussed on Web Platforms
petamoriken
0
980
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Marketing to machines
jonoalderson
1
5.8k
Practical Orchestrator
shlominoach
192
12k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.1k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
410
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
280
Leo the Paperboy
mayatellez
10
2.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
Rails Girls Zürich Keynote
gr2m
96
14k
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?