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
690
Training Better Models Using Automated Machine Learning
vladiliescu
0
66
Machine Learning in Azure: Service versus Studio
vladiliescu
1
2.1k
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
チームの境界をブチ抜いていけ
tokai235
0
160
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
280
GraphQL×Railsアプリのデータベース負荷分散 - 月間3,000万人利用サービスを無停止で
koxya
1
1.2k
CSC509 Lecture 03
javiergs
PRO
0
330
Domain-centric? Why Hexagonal, Onion, and Clean Architecture Are Answers to the Wrong Question
olivergierke
2
800
Signals & Resource API in Angular: 3 Effective Rules for Your Architecture @BASTA 2025 in Mainz
manfredsteyer
PRO
0
110
CSC305 Lecture 02
javiergs
PRO
1
270
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
510
Web Components で実現する Hotwire とフロントエンドフレームワークの橋渡し / Bridging with Web Components
da1chi
3
2k
CSC305 Lecture 04
javiergs
PRO
0
260
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
150
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
350
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
51k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
32
2.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Automating Front-end Workflow
addyosmani
1371
200k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Embracing the Ebb and Flow
colly
88
4.8k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Typedesign – Prime Four
hannesfritz
42
2.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Building Adaptive Systems
keathley
43
2.8k
Making Projects Easy
brettharned
119
6.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