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
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
840
Training Better Models Using Automated Machine Learning
vladiliescu
0
76
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
79
Privacy-First Development
vladiliescu
0
100
TypeScript vs CoffeeScript
vladiliescu
0
2.1k
Other Decks in Programming
See All in Programming
CDK Deployのための ”反響定位”
watany
5
920
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
130
クラウドネイティブなエンジニアに向ける Raycastの魅力と実際の活用事例
nealle
2
230
Vibe NLP for Applied NLP
inesmontani
PRO
0
570
CursorとClaudeCodeとCodexとOpenCodeを実際に比較してみた
terisuke
1
510
How Swift's Type System Guides AI Agents
koher
0
320
ハーネスエンジニアリングにどう向き合うか 〜ルールファイルを超えて開発プロセスを設計する〜 / How to approach harness engineering
rkaga
26
18k
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
110
JAWS-UG横浜 #100 祝・第100回スペシャルAWS は VPC レスの時代へ
maroon1st
0
200
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
250
KMP × Kotlin 2.3 - How Android Got Slower While iOS Builds Improved by 47%
rio432
0
110
Claude Codeをカスタムして自分だけのClaude Codeを作ろう
terisuke
0
160
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
960
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
How GitHub (no longer) Works
holman
316
150k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Agile that works and the tools we love
rasmusluckow
331
21k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
270
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
270
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
160
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Chasing Engaging Ingredients in Design
codingconduct
0
180
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