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
Blueskyのプラグインを作ってみた
hakkadaikon
1
550
事業戦略を理解してソフトウェアを設計する
masuda220
PRO
22
6.1k
レガシーシステムの機能調査・開発におけるAI利活用
takuya_ohtonari
0
600
アンドパッドの Go 勉強会「 gopher 会」とその内容の紹介
andpad
0
210
GoのWebAssembly活用パターン紹介
syumai
3
10k
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
190
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
360
Datadog RUM 本番導入までの道
shinter61
1
280
無関心の谷
kanayannet
0
170
Go1.25からのGOMAXPROCS
kuro_kurorrr
1
660
Go Modules: From Basics to Beyond / Go Modulesの基本とその先へ
kuro_kurorrr
0
120
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
299
21k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.3k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Docker and Python
trallard
44
3.4k
Faster Mobile Websites
deanohume
307
31k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
A better future with KSS
kneath
239
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
228
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
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?