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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Alexander Beletsky
July 15, 2014
Programming
870
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
TDD in JavaScript
The slides I use for introduction to TDD course.
Alexander Beletsky
July 15, 2014
More Decks by Alexander Beletsky
See All by Alexander Beletsky
Snapshot Testing: Going beyond UI
alexbeletsky
1
720
Tech Culture in Startups
alexbeletsky
0
260
This is Node.js
alexbeletsky
10
470
Likeastore
alexbeletsky
3
180
PaaS in your pocker with Dokku
alexbeletsky
7
2.7k
Building Single Page Applications
alexbeletsky
9
5.5k
.NET developer in JavaScript world
alexbeletsky
1
2.9k
How to write good tests?
alexbeletsky
2
350
Dynamic web development with Oak
alexbeletsky
1
650
Other Decks in Programming
See All in Programming
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
0
130
AIが無かった頃の素敵な出会いの話
codmoninc
1
430
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
4
1.6k
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
180
2年かけて Deno に DOMMatrix を実装した話 / How I implemented DOMMatrix in Deno over two years
petamoriken
0
210
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
360
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
590
実装をデザインガイドラインに追従させるための取り組み / 260731-dip-mosh-design-system
dachi023
0
450
運用ダッシュボードの設計を誰も教えてくれないのだけどみなさんどうしてるんですか? - チームに監視するという文化を根付かせるための第一歩を踏みたい -
satoshi256kbyte
1
120
PostgreSQL 18で考えるUUID主キー
kazuhiro1982
0
470
Terraform標準の組織で AWS CDKをどう使うか
mu7889yoon
1
510
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
260
Featured
See All Featured
Marketing to machines
jonoalderson
1
5.7k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.3k
BBQ
matthewcrist
89
10k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.3k
Skip the Path - Find Your Career Trail
mkilby
1
180
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
430
Writing Fast Ruby
sferik
630
63k
Making the Leap to Tech Lead
cromwellryan
135
10k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
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..