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 Backbone Development
Search
Trevor Landau
July 31, 2013
Technology
11
2.3k
Test Driven Backbone Development
Backbone 2013 Talk
http://github.com/landau/tddbackbone
Trevor Landau
July 31, 2013
Tweet
Share
Other Decks in Technology
See All in Technology
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
21k
スクラムマスターが スクラムチームに入って取り組む5つのこと - スクラムガイドには書いてないけど入った当初から取り組んでおきたい大切なこと -
scrummasudar
0
1.1k
テストセンター受験、オンライン受験、どっちなんだい?
yama3133
0
200
歴史から学ぶ、Goのメモリ管理基礎
logica0419
10
1.9k
製造業から学んだ「本質を守り現場に合わせるアジャイル実践」
kamitokusari
0
230
_第4回__AIxIoTビジネス共創ラボ紹介資料_20251203.pdf
iotcomjpadmin
0
170
戰略轉變:從建構 AI 代理人到發展可擴展的技能生態系統
appleboy
0
180
AWS re:Invent 2025 を振り返る
kazzpapa3
2
110
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
1
820
なぜ あなたはそんなに re:Invent に行くのか?
miu_crescent
PRO
0
250
ESXi のAIOps だ!2025冬
unnowataru
0
470
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
140
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
270
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Automating Front-end Workflow
addyosmani
1371
200k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
130
Measuring & Analyzing Core Web Vitals
bluesmoon
9
720
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
39
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
160
My Coaching Mixtape
mlcsv
0
21
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Claude Code のすすめ
schroneko
67
210k
Transcript
TEST DRIVEN BACKBONE DEVELOPMENT Trevor Landau @trevor_landau 1
SO.......... 2
WUT?! 3
WHAT IS TDD? 4
WORKFLOW 5
WHY TDD? 6
HOW TO TDD 7
WRITING A TEST 8
function assert(bool, errStr) { if (!bool) throw new Error(errStr); }
9
10
11
12
13
BEFORE/AFTER 14
15
16
IT 17
18
19
20
21
SINON.JS 22
SPYS 23
24
25
STUBS 26
27
28
29
MOCKS 30
31
Running the tests 32
33
34
35
36
37
CONTINUOUS INTEGRATION 38
WHAT NOT TO TEST 39
DISADVANTAGES 40
CAN I ALWAYS TDD? 41
BEYOND UNIT TESTING 42
QUESTIONS? 43
THANK YOU https://github.com/landau/tddbackbone http://visionmedia.github.io/mocha/ http://sinonjs.org/ http://chaijs.com/ http://gruntjs.com http://jenkins-ci.org/ https://travis-ci.org/ @trevor_landau
44