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
2025-12-27 Claude CodeでPRレビュー対応を効率化する@機械学習社会実装勉強会第54回
nakamasato
4
1.4k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
21k
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
7
3.2k
自己管理型チームと個人のセルフマネジメント 〜モチベーション編〜
kakehashi
PRO
5
2.8k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
61k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
10k
Node vs Deno vs Bun 〜推しランタイムを見つけよう〜
kamekyame
1
430
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
2
870
投資戦略を量産せよ 2 - マケデコセミナー(2025/12/26)
gamella
1
640
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
350
First-Principles-of-Scrum
hiranabe
4
2k
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
1
1.8k
Featured
See All Featured
Everyday Curiosity
cassininazir
0
120
Making Projects Easy
brettharned
120
6.5k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
220
Embracing the Ebb and Flow
colly
88
4.9k
Prompt Engineering for Job Search
mfonobong
0
140
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
730
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
420
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
280
First, design no harm
axbom
PRO
2
1.1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
120
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