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
TDD in JavaScript
Search
Alexander Beletsky
July 15, 2014
Programming
4
840
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
Snapshot Testing: Going beyond UI
alexbeletsky
1
640
Tech Culture in Startups
alexbeletsky
0
210
This is Node.js
alexbeletsky
10
420
Likeastore
alexbeletsky
3
130
PaaS in your pocker with Dokku
alexbeletsky
7
2.5k
Building Single Page Applications
alexbeletsky
9
5.4k
.NET developer in JavaScript world
alexbeletsky
1
2.8k
How to write good tests?
alexbeletsky
2
310
Dynamic web development with Oak
alexbeletsky
1
600
Other Decks in Programming
See All in Programming
VS Code Update for GitHub Copilot
74th
1
300
ニーリーにおけるプロダクトエンジニア
nealle
0
100
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
370
『自分のデータだけ見せたい!』を叶える──Laravel × Casbin で複雑権限をスッキリ解きほぐす 25 分
akitotsukahara
1
470
KotlinConf 2025 現地で感じたServer-Side Kotlin
n_takehata
1
230
GitHub Copilot and GitHub Codespaces Hands-on
ymd65536
1
110
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
320
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
850
WindowInsetsだってテストしたい
ryunen344
1
190
Team topologies and the microservice architecture: a synergistic relationship
cer
PRO
0
1k
都市をデータで見るってこういうこと PLATEAU属性情報入門
nokonoko1203
1
560
生成AIで日々のエラー調査を進めたい
yuyaabo
0
640
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Building Applications with DynamoDB
mza
95
6.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
790
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
930
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
The Pragmatic Product Professional
lauravandoore
35
6.7k
Adopting Sorbet at Scale
ufuk
77
9.4k
Writing Fast Ruby
sferik
628
61k
Statistics for Hackers
jakevdp
799
220k
Designing Experiences People Love
moore
142
24k
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Transcript
Test Driven .JS
[email protected]
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..