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
850
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
680
Tech Culture in Startups
alexbeletsky
0
230
This is Node.js
alexbeletsky
10
440
Likeastore
alexbeletsky
3
140
PaaS in your pocker with Dokku
alexbeletsky
7
2.6k
Building Single Page Applications
alexbeletsky
9
5.4k
.NET developer in JavaScript world
alexbeletsky
1
2.9k
How to write good tests?
alexbeletsky
2
320
Dynamic web development with Oak
alexbeletsky
1
620
Other Decks in Programming
See All in Programming
OCaml 5でモダンな並列プログラミングを Enjoyしよう!
haochenx
0
130
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
CSC307 Lecture 07
javiergs
PRO
0
550
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
110
AI時代の認知負荷との向き合い方
optfit
0
140
IFSによる形状設計/デモシーンの魅力 @ 慶應大学SFC
gam0022
1
300
Fragmented Architectures
denyspoltorak
0
150
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
150
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
Oxlintはいいぞ
yug1224
5
1.3k
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.8k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
400
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
1
290
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
140
Paper Plane
katiecoart
PRO
0
46k
HDC tutorial
michielstock
1
360
Testing 201, or: Great Expectations
jmmastey
46
8k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
110
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
120
Building Adaptive Systems
keathley
44
2.9k
Amusing Abliteration
ianozsvald
0
96
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..