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
Mocha ja QUnit
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
TomTer
October 05, 2014
Programming
0
55
Mocha ja QUnit
Lalalala. Slides for our course: modern-web-tools-with-node-js-book
TomTer
October 05, 2014
Tweet
Share
Other Decks in Programming
See All in Programming
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
責任感のあるCloudWatchアラームを設計しよう
akihisaikeda
3
170
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
AI & Enginnering
codelynx
0
110
AtCoder Conference 2025
shindannin
0
1.1k
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
260
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Music & Morning Musume
bryan
47
7.1k
Fireside Chat
paigeccino
41
3.8k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
[SF Ruby Conf 2025] Rails X
palkan
1
740
Un-Boring Meetings
codingconduct
0
200
Odyssey Design
rkendrick25
PRO
1
490
It's Worth the Effort
3n
188
29k
Prompt Engineering for Job Search
mfonobong
0
160
What does AI have to do with Human Rights?
axbom
PRO
0
2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
84
Transcript
Mocha ja Qunit Toomas Tero
Sisältö Mocha Qunit Bye-bye
Mocha oJS testing framework running on NodeJS and a browser.
oAnalogues: JUnit for Java, PHPUnit, PyUnit etc… oCan be tested both sync and async code
Test program n.1 A very “complex” synchronous class we want
to import and test using Mocha
Actual testing program n.1 Class is imported, new instanced made
and lets eat test that thing.
Results n.1 Everything went as we wanted
Test program n.2 Oh, we forgot to fry it first.
Lets do it!
Test program n.2 Lalalalallalala. No one reads this text I
said….
Results n.2 Das ist fantastisch!
Offtopic - My favorite part in NodeJS… (of course without
using ”async” module)
QUnit o JS unit testing framework. o Only in browsers.
o From JQuery creators.
QUnit result Everything is ok.