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
270
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
96
Other Decks in Programming
See All in Programming
メモリウォールを超えて:キャッシュメモリ技術の進歩
kawayu
0
1.9k
SQL Server ベクトル検索
odashinsuke
0
170
Vibe Codingをせずに Clineを使っている
watany
17
6.1k
Day0 初心者向けワークショップ実践!ソフトウェアテストの第一歩
satohiroyuki
0
830
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
110
マルチアカウント環境での、そこまでがんばらない RI/SP 運用設計
wa6sn
0
710
Django for Data Science (Boston Python Meetup, March 2025)
wsvincent
0
320
国漢文混用体からHolloまで
minhee
1
170
SEAL - Dive into the sea of search engines - Symfony Live Berlin 2025
alexanderschranz
1
130
AHC 044 混合整数計画ソルバー解法
kiri8128
0
330
データベースエンジニアの仕事を楽にする。PgAssistantの紹介
nnaka2992
9
4.5k
custom_lintで始めるチームルール管理
akaboshinit
0
200
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
67
11k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
47
2.4k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Building Flexible Design Systems
yeseniaperezcruz
329
38k
Bash Introduction
62gerente
611
210k
Facilitating Awesome Meetings
lara
54
6.3k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
Faster Mobile Websites
deanohume
306
31k
Mobile First: as difficult as doing things right
swwweet
223
9.6k
Designing Experiences People Love
moore
141
24k
Site-Speed That Sticks
csswizardry
5
480
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?