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
380
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
480
Training Better Models Using Automated Machine Learning
vladiliescu
0
51
Machine Learning in Azure: Service versus Studio
vladiliescu
1
1.9k
Getting Started with Machine Learning Using Azure Machine Learning Studio and Kaggle Competitions
vladiliescu
1
1.7k
Boy meets Girl: A Machine Learning Deployment Story
vladiliescu
0
2k
Mind Reading - Understanding Recommender Systems
vladiliescu
0
63
Predicting the future in 10 minutes or less - an introduction to Azure Machine Learning
vladiliescu
0
61
Privacy-First Development
vladiliescu
0
92
TypeScript vs CoffeeScript
vladiliescu
0
2k
Other Decks in Programming
See All in Programming
return文におけるstd::moveについて
onihusube
1
730
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
920
Go の GC の不得意な部分を克服したい
taiyow
2
760
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
260
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
From Translations to Multi Dimension Entities
alexanderschranz
2
130
Criando Commits Incríveis no Git
marcelgsantos
2
170
プロダクトの品質に コミットする / Commit to Product Quality
pekepek
2
770
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
DevFest Tokyo 2025 - Flutter のアプリアーキテクチャ現在地点
wasabeef
5
900
nekko cloudにおけるProxmox VE利用事例
irumaru
3
420
Featured
See All Featured
Music & Morning Musume
bryan
46
6.2k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Visualization
eitanlees
146
15k
Agile that works and the tools we love
rasmusluckow
328
21k
It's Worth the Effort
3n
183
28k
Side Projects
sachag
452
42k
Docker and Python
trallard
41
3.1k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
A Philosophy of Restraint
colly
203
16k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
28
900
Thoughts on Productivity
jonyablonski
67
4.4k
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