Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Testing JavaScript like a "BOSS"
Search
Swaroop SM
April 21, 2015
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Testing JavaScript like a "BOSS"
Glance to JavaScript Testing
Swaroop SM
April 21, 2015
More Decks by Swaroop SM
See All by Swaroop SM
Client-Side Data Modelling and more...
swaroopsm
0
64
ReactJS Awesomeness
swaroopsm
3
260
The Truth About Truthy & Falsy
swaroopsm
1
62
Other Decks in Technology
See All in Technology
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
520
銀行勘定系システムにおける開発プロセス刷新×AIによる環境モダナイゼーション / Development Process Transformation and AI-Driven Environment Modernization
muit
1
2.3k
Vibe Coding で作ったプロダクトをどう安全に動かすか / How to Safely Run Products Built with Vibe Coding
glidenote
0
150
AIエージェントの一手は 誰も見ていない - Falco拡張OSS「Prempti」とeBPFで サーバーレス実行基盤を二層防御する
keitah
0
210
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
25
16k
その Lambda、8分で 管理者権限まで奪われます
k1nakayama
6
3k
白金鉱業Meetup Vol.25 アウトカムが二値のデータに対するCausal Impact
brainpadpr
0
240
AIで社員の自主発信に広報目線を組み込む
_mossann_t
0
130
AI de Idea
kawaguti
PRO
2
120
あけおめLINE 傾向とその対策
nasa9084
0
140
今話題のAI「Jev」って何? 宇宙最速で学ぶ会
minorun365
PRO
28
16k
Reactの設計論
uhyo
24
14k
Featured
See All Featured
Un-Boring Meetings
codingconduct
0
420
HDC tutorial
michielstock
2
870
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
6.2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
How STYLIGHT went responsive
nonsquared
100
6.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
260
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.4k
Transcript
Testing JavaScript Like A “BOSS”
Testing Ground • Robust Test Framework • Assertion Library •
Spying, Stubbing, Mocking Library • Test Runner • Reporting
Test Framework • DSL for writing tests • QUnit •
Jasmine • Mocha
Assertion Library • expect() • assert() • should() • ChaiJS
• should.js • expect.js
Spy, Stub and Mock • SinonJS • sinon.spy() • sinon.stub()
• sinon.mock() Source: http://www.memecenter.com
Test Runner • Grunt / Karma • grunt-mocha / grunt-contrib-jasmine
• karma-mocha / karma-jasmine
Reporting • HTML / JSON / XML / Spec /
Dot • JSONCov / HTMLCov
Sit, back and relax! @smswaroop Cybrilla Technologies