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
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Tebiki Engineering Team Deck
tebiki
0
24k
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
GitLab Duo Agent Platform × AGENTS.md で実現するSpec-Driven Development / GitLab Duo Agent Platform × AGENTS.md
n11sh1
0
130
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
110
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
230
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
150
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
690
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
460
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Featured
See All Featured
The SEO identity crisis: Don't let AI make you average
varn
0
67
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
200
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.6k
The Pragmatic Product Professional
lauravandoore
37
7.1k
The Curse of the Amulet
leimatthew05
1
8.4k
Testing 201, or: Great Expectations
jmmastey
46
8k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
0
270
The SEO Collaboration Effect
kristinabergwall1
0
350
Marketing to machines
jonoalderson
1
4.6k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
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