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
デジタルアイデンティティ技術 認可・ID連携・認証 応用 / 20250114-OIDF-J-EduWG-TechSWG
oidfj
2
520
OPENLOGI Company Profile
hr01
0
58k
生成AI × 旅行 LLMを活用した旅行プラン生成・チャットボット
kominet_ava
0
150
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
130
.NET 最新アップデート ~ AI とクラウド時代のアプリモダナイゼーション
chack411
0
190
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
6
6k
デジタルアイデンティティ人材育成推進ワーキンググループ 翻訳サブワーキンググループ 活動報告 / 20250114-OIDF-J-EduWG-TranslationSWG
oidfj
0
380
embedパッケージを深掘りする / Deep Dive into embed Package in Go
task4233
1
200
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
180
Azureの開発で辛いところ
re3turn
0
240
I could be Wrong!! - Learning from Agile Experts
kawaguti
PRO
8
3.2k
新しいスケーリング則と学習理論
taiji_suzuki
10
3.8k
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
32
6.4k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
200
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Code Review Best Practice
trishagee
65
17k
The Cult of Friendly URLs
andyhume
78
6.1k
Docker and Python
trallard
43
3.2k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
How to train your dragon (web standard)
notwaldorf
89
5.8k
Making the Leap to Tech Lead
cromwellryan
133
9k
Documentation Writing (for coders)
carmenintech
67
4.5k
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