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
1
390
Unit Testing for the Rest of Us
Vlad Iliescu
November 26, 2011
Tweet
Share
More Decks by Vlad Iliescu
See All by Vlad Iliescu
Poor Man’s BingChat – Building an Internet-connected Search Assistant from scratch*
vladiliescu
0
670
Training Better Models Using Automated Machine Learning
vladiliescu
0
65
Machine Learning in Azure: Service versus Studio
vladiliescu
1
2k
Getting Started with Machine Learning Using Azure Machine Learning Studio and Kaggle Competitions
vladiliescu
1
1.8k
Boy meets Girl: A Machine Learning Deployment Story
vladiliescu
0
2.1k
Mind Reading - Understanding Recommender Systems
vladiliescu
0
79
Predicting the future in 10 minutes or less - an introduction to Azure Machine Learning
vladiliescu
0
70
Privacy-First Development
vladiliescu
0
97
TypeScript vs CoffeeScript
vladiliescu
0
2k
Other Decks in Programming
See All in Programming
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
340
CloudflareのChat Agent Starter Kitで簡単!AIチャットボット構築
syumai
2
500
私の後悔をAWS DMSで解決した話
hiramax
4
210
2025 年のコーディングエージェントの現在地とエンジニアの仕事の変化について
azukiazusa1
24
12k
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
2.4k
The Past, Present, and Future of Enterprise Java with ASF in the Middle
ivargrimstad
0
160
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
7
2.5k
Design Foundational Data Engineering Observability
sucitw
3
200
Flutter with Dart MCP: All You Need - 박제창 2025 I/O Extended Busan
itsmedreamwalker
0
150
Laravel Boost 超入門
fire_arlo
3
220
MCPとデザインシステムに立脚したデザインと実装の融合
yukukotani
4
1.4k
OSS開発者という働き方
andpad
5
1.7k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
140
7.1k
Designing for Performance
lara
610
69k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Code Review Best Practice
trishagee
71
19k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
13k
BBQ
matthewcrist
89
9.8k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
We Have a Design System, Now What?
morganepeng
53
7.8k
A Tale of Four Properties
chriscoyier
160
23k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
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