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
生成AIによるデータサイエンスの変革
taka_aki
0
3k
家族の思い出を形にする 〜 1秒動画の生成を支えるインフラアーキテクチャ
ojima_h
3
1.1k
バクラクによるコーポレート業務の自動運転 #BetAIDay
layerx
PRO
1
950
Amazon GuardDuty での脅威検出:脅威検出の実例から学ぶ
kintotechdev
0
110
Serverless Meetup #21
yoshidashingo
1
120
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
ZOZOTOWNの大規模マーケティングメール配信を支えるアーキテクチャ
zozotech
PRO
0
330
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
150
猫でもわかるQ_CLI(CDK開発編)+ちょっとだけKiro
kentapapa
0
3.5k
20250807 Applied Engineer Open House
sakana_ai
PRO
2
390
相互運用可能な学修歴クレデンシャルに向けた標準技術と国際動向
fujie
0
250
生成AI導入の効果を最大化する データ活用戦略
ham0215
0
160
Featured
See All Featured
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Done Done
chrislema
185
16k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
How to Think Like a Performance Engineer
csswizardry
25
1.8k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
A designer walks into a library…
pauljervisheath
207
24k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Embracing the Ebb and Flow
colly
86
4.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
800
It's Worth the Effort
3n
185
28k
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