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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Trevor Landau
July 31, 2013
Technology
11
2.4k
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
JuliaTokaiとしてはこれが最後かもしれない(仮) for NGK2026S
antimon2
0
130
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
390
SREじゃなかった僕らがenablingを通じて「SRE実践者」になるまでのリアル / SRE Kaigi 2026
aeonpeople
3
270
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
0
200
AIとともに歩む情報セキュリティ / Information Security with AI
kanny
4
2.8k
オープンウェイトのLLMリランカーを契約書で評価する / searchtechjp
sansan_randd
3
460
しろおびセキュリティへ ようこそ
log0417
0
200
SREのプラクティスを用いた3領域同時 マネジメントへの挑戦 〜SRE・情シス・セキュリティを統合した チーム運営術〜
coconala_engineer
1
150
Introduction to Bill One Development Engineer
sansan33
PRO
0
350
「AIでできますか?」から「Agentを作ってみました」へ ~「理論上わかる」と「やってみる」の隔たりを埋める方法
applism118
14
8.9k
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
3
170
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Featured
See All Featured
Docker and Python
trallard
47
3.7k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
430
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
160
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
420
How GitHub (no longer) Works
holman
316
140k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
69
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
120
Heart Work Chapter 1 - Part 1
lfama
PRO
5
35k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
420
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
66
36k
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