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
630
Tech Culture in Startups
alexbeletsky
0
190
This is Node.js
alexbeletsky
10
410
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
300
Dynamic web development with Oak
alexbeletsky
1
590
Other Decks in Programming
See All in Programming
flutter_kaigi_mini_4.pdf
nobu74658
0
120
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
1
150
State of Namespace
tagomoris
5
2.1k
Jakarta EE Meets AI
ivargrimstad
0
350
VitestのIn-Source Testingが便利
taro28
8
2.3k
エンジニアが挑む、限界までの越境
nealle
1
290
RubyKaigi Dev Meeting 2025
tenderlove
1
460
一緒に働きたくなるプログラマの思想 #QiitaConference
mu_zaru
75
18k
PHP で学ぶ OAuth 入門
azuki
1
220
The Nature of Complexity in John Ousterhout’s Philosophy of Software Design
philipschwarz
PRO
0
140
Qiita Bash
mercury_dev0517
2
210
Lambda(Python)の リファクタリングが好きなんです
komakichi
3
220
Featured
See All Featured
Music & Morning Musume
bryan
47
6.5k
Navigating Team Friction
lara
185
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
BBQ
matthewcrist
88
9.6k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
136
33k
Bash Introduction
62gerente
611
210k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
Agile that works and the tools we love
rasmusluckow
329
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
9
760
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
4 Signs Your Business is Dying
shpigford
183
22k
Fireside Chat
paigeccino
37
3.4k
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..