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
Mocha ja QUnit
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
TomTer
October 05, 2014
Programming
57
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mocha ja QUnit
Lalalala. Slides for our course: modern-web-tools-with-node-js-book
TomTer
October 05, 2014
Other Decks in Programming
See All in Programming
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
270
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
contenteditable と日本語入力に向き合う
colorful12
0
200
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
270
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
880
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
R8 の設定見直しでアプリサイズ削減
andpad
0
220
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
28
32k
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.2k
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
150
Featured
See All Featured
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
870
Designing Experiences People Love
moore
143
24k
Become a Pro
speakerdeck
PRO
31
6.3k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
630
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
500
How to build a perfect <img>
jonoalderson
1
6.1k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
400
Mobile First: as difficult as doing things right
swwweet
225
10k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
850
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.