Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
TDD in JavaScript
Alexander Beletsky
July 15, 2014
Programming
4
790
TDD in JavaScript
The slides I use for introduction to TDD course.
Alexander Beletsky
July 15, 2014
Tweet
Share
More Decks by Alexander Beletsky
See All by Alexander Beletsky
alexbeletsky
1
270
alexbeletsky
0
69
alexbeletsky
10
330
alexbeletsky
3
110
alexbeletsky
8
2k
alexbeletsky
9
4.9k
alexbeletsky
1
2.4k
alexbeletsky
2
210
alexbeletsky
1
510
Other Decks in Programming
See All in Programming
mrtc0
2
1k
itok
1
920
texmeijin
0
140
makky0620
0
100
williln
0
230
abeta
1
210
bk_18
2
250
oracle4engineer
0
120
takapy
0
190
emmaglorypraise
0
140
kilometer
4
460
tkmnzm
0
140
Featured
See All Featured
edds
56
9.4k
mojombo
359
62k
caitiem20
308
17k
jponch
103
5.1k
holman
288
130k
bryan
31
3.4k
samanthasiow
56
6.4k
cassininazir
347
20k
chrislema
231
16k
lauravandoore
10
1.6k
smashingmag
230
18k
skipperchong
8
720
Transcript
Test Driven .JS
ceo@likeastore.com http://beletsky.net http://twitter.com/alexbeletsky
What are we going to do?
What are we going to do? • prepare the environment
What are we going to do? • prepare the environment
• have TDD intro
What are we going to do? • prepare the environment
• have TDD intro • practice the basic skills
What are we going to do? • prepare the environment
• have TDD intro • practice the basic skills • discuss and have fun!
Development environment • node.js (npm) ~ 0.10.x • git ~
1.8.x • Chrome / Firefox / IE • Sublime Text (Web Storm, Notepad)
What the heck is TDD?
None
The Three Laws of TDD • No production code without
test • No more unit test sufficient to fall • No more production code sufficient to pass
But Why?
Less bugs, more speed
Regression stability
Safe(r) refactoring
Test Driven Design
Team / Code culture
FUN :)
TDD is all about discipline
:shu :ha :ri
Let’s get STARTED..