Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Test Driven Backbone Development
Trevor Landau
July 31, 2013
Technology
11
2k
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
データエンジニアを助けてくれるFivetranとSnowflakeの仕様&機能のご紹介
sagara
0
420
DID/VCを用いた自己主権型アイデンティティの実現
sbtechnight
0
370
OCIコンテナサービス関連の技術詳細 /oke-ocir-details
oracle4engineer
PRO
0
750
MoT/コネヒト/Kanmu が語るプロダクト開発xデータ分析 - 分析から機械学習システムの開発まで一人で複数ロールを担う大変さ
masatakashiwagi
2
560
Kaggleシミュレーションコンペの動向
nagiss
0
220
re:Inventで発表があったIoT事例の紹介と考察
kizawa2020
0
120
Virtual Thread - 導入の背景と、効果的な使い方 -
skrb
3
250
WINTICKET QA における Autify 活用
kj455
1
180
ROS_Japan_UG_#49_LT
maeharakeisuke
0
200
プログラミング支援AI GitHub Copilot すごいの話
moyashi
0
280
2年で10→70人へ! スタートアップの 情報セキュリティ課題と施策
miekobayashi
1
200
Exploring MapStore Release 2022.02: improved 3DTiles support and more
simboss
PRO
0
170
Featured
See All Featured
Docker and Python
trallard
30
1.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
10
1.3k
Documentation Writing (for coders)
carmenintech
51
2.9k
Making the Leap to Tech Lead
cromwellryan
116
7.6k
Principles of Awesome APIs and How to Build Them.
keavy
117
15k
Done Done
chrislema
178
14k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
196
9.8k
Designing on Purpose - Digital PM Summit 2013
jponch
108
5.9k
How STYLIGHT went responsive
nonsquared
89
4.2k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Six Lessons from altMBA
skipperchong
15
2.3k
What’s in a name? Adding method to the madness
productmarketing
12
1.9k
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