Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Unit Testing for the Rest of Us
Search
Vlad Iliescu
November 26, 2011
Programming
410
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Unit Testing for the Rest of Us
Vlad Iliescu
November 26, 2011
Transcript
21 slides
UNIT TESTING? VLAD ILIESCU VLADILIESCU.RO FOR THE REST OF US
UNIT TESTING? INTRO SIMPLE DEMO ADVANCED DEMO GUIDELINES JAVASCRIPT JAVASCRIPT
DEMO
UNIT TESTING?
WHY?
HOW?
NO, REALLY – HOW?
QUESTIONS?
GUIDELINES
A TEST SHOULD BE FAST
A TEST SHOULD BE INDEPENDENT
A TEST SHOULD BE ISOLATED
A TEST SHOULD BE SELF-DESCRIPTIVE
HOW DO I WRITE TESTABLE CODE?
QUESTIONS?
WHY JAVASCRIPT?
BECAUSE OF SPIDER-MAN
HOW?
NO, REALLY - HOW?
QUESTIONS?
HTTP://MSDN.MICROSOFT.COM/EN-US/LIBRARY/MS243147.ASPX HTTP://MSDN.MICROSOFT.COM/EN-US/LIBRARY/MS182530.ASPX HTTP://DOCS.JQUERY.COM/QUNIT HTTPS://GITHUB.COM/JQUERY/QUNIT HTTP://MSDN.MICROSOFT.COM/EN-US/SCRIPTJUNKIE/GG749824 HTTP://HTML5BOILERPLATE.COM HTTP://GOOGLETESTING.BLOGSPOT.COM/2008/07/HOW-TO-WRITE-3V1L- UNTESTABLE-CODE.HTML
THANKS FOR WATCHING! VLAD ILIESCU VLADILIESCU.RO
More Decks by Vlad Iliescu
See All by Vlad Iliescu
Poor Man’s BingChat – Building an Internet-connected Search Assistant from scratch*
vladiliescu
0
1k
Training Better Models Using Automated Machine Learning
vladiliescu
0
89
Machine Learning in Azure: Service versus Studio
vladiliescu
1
2.3k
Getting Started with Machine Learning Using Azure Machine Learning Studio and Kaggle Competitions
vladiliescu
1
2k
Boy meets Girl: A Machine Learning Deployment Story
vladiliescu
0
2.3k
Mind Reading - Understanding Recommender Systems
vladiliescu
0
120
Predicting the future in 10 minutes or less - an introduction to Azure Machine Learning
vladiliescu
0
89
Privacy-First Development
vladiliescu
0
110
TypeScript vs CoffeeScript
vladiliescu
0
2.1k
Other Decks in Programming
See All in Programming
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
260
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
220
特急いなほ as a Workflow / 20261107jaws-festa-2026-akita-lt
kasacchiful
PRO
0
110
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
Kotlin JVM用に作られたライブラリのKMPを前提とした再設計
jsoizo
0
240
Canvas 2D Context Next
petamoriken
0
880
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
220
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
320
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
Apache Airflow Introduction
leew
1
100
Spec-driven Development with AI
simas
PRO
0
2.3k
Crash Auto Pipelines
veronikapj
1
460
Featured
See All Featured
Heart Work Chapter 1 - Part 1
lfama
PRO
11
37k
Marketing to machines
jonoalderson
1
6k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
7.1k
New Earth Scene 8
popppiees
5
2.9k
Agile that works and the tools we love
rasmusluckow
331
22k
Into the Great Unknown - MozCon
thekraken
41
2.8k
The Cost Of JavaScript in 2023
addyosmani
56
10k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Exploring anti-patterns in Rails
aemeredith
4
590
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
620
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k