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
flutter_kaigi_2025.pdf
kyoheig3
1
360
無秩序からの脱却 / Emergence from chaos
nrslib
1
9.5k
CSC509 Lecture 13
javiergs
PRO
0
260
Claude Code on the Web を超える!? Codex Cloud の実践テク5選
sunagaku
0
610
開発生産性が組織文化になるまでの軌跡
tonegawa07
0
190
Feature Flags Suck! - KubeCon Atlanta 2025
phodgson
0
170
AI時代もSEOを頑張っている話
shirahama_x
0
180
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
350
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
680
高単価案件で働くための心構え
nullnull
0
170
OSS開発者の憂鬱
yusukebe
14
11k
Promise.tryで実現する新しいエラーハンドリング New error handling with Promise try
bicstone
3
1.7k
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
24k
Faster Mobile Websites
deanohume
310
31k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Building Adaptive Systems
keathley
44
2.8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1k
Producing Creativity
orderedlist
PRO
348
40k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
How GitHub (no longer) Works
holman
315
140k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
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?