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
Testing JavaScript like a "BOSS"
Search
Swaroop SM
April 21, 2015
Technology
68
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
63
ReactJS Awesomeness
swaroopsm
3
260
The Truth About Truthy & Falsy
swaroopsm
1
61
Other Decks in Technology
See All in Technology
AI エージェント時代のデジタルアイデンティティ
fujie
1
1.1k
DevOps Agentで運用判断をチーム資産にする~Agent InstructionsとAgent Skillを継続的に育てる~
fujioka6789
0
170
人手不足への挑戦:車両保全を支えるIoTとクラウド内製化の道【SORACOM Discovery 2026】
soracom
PRO
0
160
NYC Summit 2026 におけるAmazon Bedrock AgentCore のアップデート
ren8k
1
260
AI工学特論: MLOps・継続的評価
asei
11
3k
カメラ×AIで挑む「ホワイト物流」― 車両管理、自動化の壁と突破口【SORACOM Discovery 2026】
soracom
PRO
0
180
GMOフィナンシャルゲートが挑む、「止まらない」決済インフラ構築の裏側【SORACOM Discovery 2026】
soracom
PRO
0
110
Claude Mythos、Fable...フロンティアAIの最新動向と企業のセキュリティ対策
flatt_security
0
170
文字起こし基盤の信頼性
abnoumaru
0
150
なぜ、あなたのAPIは使われないのか? AX時代の設計原則、ガードレール、運用体制
yokawasa
1
260
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
53k
現場との対話から始める “作る前に問い直す”業務改善
mochico50
2
330
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
A better future with KSS
kneath
240
18k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
880
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
500
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Un-Boring Meetings
codingconduct
0
350
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
780
Designing Powerful Visuals for Engaging Learning
tmiket
1
460
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
300
Marketing to machines
jonoalderson
1
5.6k
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