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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
XHTMLが残したもの
yosuke_furukawa
PRO
2
830
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
260
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
1
280
setup-vp GitLab対応の裏側
naokihaba
0
110
Intent as Code
shoppingjaws
6
1.1k
新卒PdEのリアル
ryu1013
1
510
Kiroで創り、AgentCoreで繋ぐ!AWSで実践する「AI-DLC」から「AIエージェント統合」までの最新地図
licux
4
710
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
340
Jetpack Compose メカニズム
skydoves
0
450
FreeBSDでZabbixを動かす
kenkino
0
310
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2.1k
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
180
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
Unsuck your backbone
ammeep
672
58k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
1k
GitHub's CSS Performance
jonrohan
1033
470k
Statistics for Hackers
jakevdp
799
230k
Thoughts on Productivity
jonyablonski
76
5.4k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
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?