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
130
Other Decks in Programming
See All in Programming
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
400
Railsバージョンを4倍にした話
optim
0
900
Kotlinの15年とServer-Side Kotlin
n_takehata
1
190
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
0
120
AI-Powered Domain-Driven Design
ziobrando
0
370
Kotlinize Is Not Just Converting to Kotlin
chigichan24
1
210
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
540
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
260
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.3k
ChromeでローカルLLM
ryu1013
0
190
ActionController meets Protocol Buffers
sorah
1
770
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
350
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
10k
Automating Front-end Workflow
addyosmani
1370
210k
From π to Pie charts
rasagy
1
430
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
Evolving SEO for Evolving Search Engines
ryanjones
0
350
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
820
GitHub's CSS Performance
jonrohan
1033
470k
Optimizing for Happiness
mojombo
378
71k
The untapped power of vector embeddings
frankvandijk
2
2k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
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?