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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
jede
December 06, 2011
Programming
290
5
Share
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
110
Other Decks in Programming
See All in Programming
ドメインイベントでビジネスロジックを解きほぐす #phpcon_odawara
kajitack
3
750
Feature Toggle は捨てやすく使おう
gennei
0
590
事業会社でのセキュリティ長期インターンについて
masachikaura
0
250
Getting more out of Maven
mlvandijk
0
110
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
370
TiDBのアーキテクチャから学ぶ分散システム入門 〜MySQL互換のNewSQLは何を解決するのか〜 / tidb-architecture-study
dznbk
1
170
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
0
140
How Swift's Type System Guides AI Agents
koher
0
250
煩雑なSkills管理をSoC(関心の分離)により解決する――関心を分離し、プロンプトを部品として育てるためのOSSを作った話 / Solving Complex Skills Management Through SoC (Separation of Concerns)
nrslib
4
890
Going Multiplatform with Your Android App (Android Makers 2026)
zsmb
2
410
PCOVから学ぶコードカバレッジ #phpcon_odawara
o0h
PRO
0
260
Coding as Prompting Since 2025
ragingwind
0
830
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
140
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.2k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
Rails Girls Zürich Keynote
gr2m
96
14k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
400
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Unsuck your backbone
ammeep
672
58k
Building AI with AI
inesmontani
PRO
1
900
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.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?