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
92
Other Decks in Programming
See All in Programming
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
4
90k
Why Prism?
kddnewton
4
1.7k
Jakarta EE meets AI
ivargrimstad
1
550
上手に付き合うコンポーネントテスト
quramy
0
140
Debugging: All you need to know (for simultaneous interpreting)
jmatsu
2
930
ECMAScript、Web標準の型はどう管理されているか / How ECMAScript and Web standards types are maintained
petamoriken
3
390
unique パッケージから学ぶ interning と weak reference @ Asakusa.go#3
karamaru
2
820
Rechartsで楽にゴリゴリにカスタマイズする!
10tera
1
170
GoのIteratorに詳しくなってしまう
inatonix
1
210
GraphQLの魅力を引き出すAndroidクライアント実装
morux2
3
830
o1モデルのプロンプトエンジニアリングって?
ktc_wada
0
300
Understand the mechanism! Let's do screenshots tests of Compose Previews with various variations / 仕組みから理解する!Composeプレビューを様々なバリエーションでスクリーンショットテストしよう
sumio
3
860
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.2k
The Cost Of JavaScript in 2023
addyosmani
42
5.7k
Become a Pro
speakerdeck
PRO
22
4.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
0
130
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
Typedesign – Prime Four
hannesfritz
39
2.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
36
1.7k
Bash Introduction
62gerente
608
210k
Fantastic passwords and where to find them - at NoRuKo
philnash
48
2.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
227
52k
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?