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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Patterns of Patterns
denyspoltorak
0
1.4k
[KNOTS 2026登壇資料]AIで拡張‧交差する プロダクト開発のプロセス および携わるメンバーの役割
hisatake
0
270
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
430
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.4k
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
高速開発のためのコード整理術
sutetotanuki
1
390
Apache Iceberg V3 and migration to V3
tomtanaka
0
160
SourceGeneratorのススメ
htkym
0
190
Basic Architectures
denyspoltorak
0
670
Featured
See All Featured
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
200
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
73
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
130
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
KATA
mclloyd
PRO
34
15k
New Earth Scene 8
popppiees
1
1.5k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Building an army of robots
kneath
306
46k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
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.