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
2.4k
11
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Test Driven Backbone Development
Backbone 2013 Talk
http://github.com/landau/tddbackbone
Trevor Landau
July 31, 2013
Other Decks in Technology
See All in Technology
こんなアーキテクチャ図は嫌だ BEYOND THE TIME: 半年後の自分へ贈る15のメッセージ / 15 of Anti-pattern in AWS Architecture Diagrams
naospon
3
270
Microsoft 365 Copilot chat -tekoälypalvelun tietosuojaongelmat
hponka
0
560
Webとヘルスデータ
yukukotani
1
200
Tab5をRubyで動くパソコンにする
kishima
2
270
プロダクト思考 × 基盤思考を AIで実現する Compound Engineering
tkc66buzz
1
290
PfEingのアプローチで働こう
rindrics
0
200
When Does a Local Qwen Start to Break
morshoto
0
190
Where Is JetBrains AI Heading- — Central CLI, Air Alpha, and the Agentic Development Stack
x5gtrn
PRO
0
150
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/6 - 2026/8
oracle4engineer
PRO
0
130
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
370
日経電子版を支えていく Kasane Design System/fec_fukuoka
nikkei_engineer_recruiting
0
260
Sigmaユーザーのための有用リソース一挙公開 & Sigmaで使えるMCP #sigma_ucj /useful-resources-for-sigma-computing-users-and-mcps-with-sigma
shinyaa31
0
170
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.6k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
520
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
450
Prompt Engineering for Job Search
mfonobong
0
440
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Marketing to machines
jonoalderson
1
5.8k
How to make the Groovebox
asonas
2
2.4k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
560
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
450
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