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
Unit Testing for the Rest of Us
Search
Vlad Iliescu
November 26, 2011
Programming
390
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
More Decks by Vlad Iliescu
See All by Vlad Iliescu
Poor Man’s BingChat – Building an Internet-connected Search Assistant from scratch*
vladiliescu
0
870
Training Better Models Using Automated Machine Learning
vladiliescu
0
78
Machine Learning in Azure: Service versus Studio
vladiliescu
1
2.2k
Getting Started with Machine Learning Using Azure Machine Learning Studio and Kaggle Competitions
vladiliescu
1
1.9k
Boy meets Girl: A Machine Learning Deployment Story
vladiliescu
0
2.2k
Mind Reading - Understanding Recommender Systems
vladiliescu
0
96
Predicting the future in 10 minutes or less - an introduction to Azure Machine Learning
vladiliescu
0
80
Privacy-First Development
vladiliescu
0
100
TypeScript vs CoffeeScript
vladiliescu
0
2.1k
Other Decks in Programming
See All in Programming
PHPで使える日時の表現と、その知り方 #frontend_phpcon_do
o0h
PRO
0
230
New "Type" system on PicoRuby
pocke
1
820
Oxcを導入して開発体験が向上した話
yug1224
4
310
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
210
Claspは野良GASの夢をみるか
takter00
0
180
技術記事、AIに書かせるか、自分で書くか? 〜それでも私が自分の手で書く理由〜 / #QiitaConference
jnchito
2
1.4k
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
3.6k
Vue × Nuxt × Oxc どこまで使える?実運用の現在地
andpad
0
170
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
1
450
Webフレームワークの ベンチマークについて
yusukebe
0
160
3Dシーンの圧縮
fadis
1
690
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
210
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
410
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
140
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
140
Navigating Team Friction
lara
192
16k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Marketing to machines
jonoalderson
1
5.4k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
230
New Earth Scene 8
popppiees
3
2.3k
Building an army of robots
kneath
306
46k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
200
Transcript
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