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
gfnork node.js workshop Lesson #6 Unit testing
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
gfnork
June 20, 2014
Programming
0
460
gfnork node.js workshop Lesson #6 Unit testing
Assert, Mocha
gfnork
June 20, 2014
Tweet
Share
More Decks by gfnork
See All by gfnork
Basic Mobile Application Design
freundschaft
0
510
gfnork node.js workshop Lesson #1 JavaScript Basics
freundschaft
0
960
gfnork node.js workshop Lesson #2 JavaScript Async
freundschaft
0
960
gfnork node.js workshop Lesson #3 node.js basics
freundschaft
0
470
gfnork node.js workshop Lesson #4 middleware for node
freundschaft
0
520
gfnork node.js workshop Lesson #5 node.js databases
freundschaft
0
470
Other Decks in Programming
See All in Programming
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
590
AI & Enginnering
codelynx
0
110
CSC307 Lecture 03
javiergs
PRO
1
490
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
370
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
CSC307 Lecture 09
javiergs
PRO
1
840
CSC307 Lecture 01
javiergs
PRO
0
690
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
dchart: charts from deck markup
ajstarks
3
990
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
0
1.1k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Embracing the Ebb and Flow
colly
88
5k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Mobile First: as difficult as doing things right
swwweet
225
10k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
170
New Earth Scene 8
popppiees
1
1.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
94
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Prompt Engineering for Job Search
mfonobong
0
160
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Transcript
None
2
3
4
5
6 import Compaing
7 Diffrent syntax but does the same Thing Expends the
Prototype of Object
8
9
10
11 Arange Act Assert
12
13
14
15 returns -1 if not contained no require needed
16
17 Suite in TDD
18 are grouped within 'something'
19 Executed once before the tests start Executed once before
each test
20 tells the test that its async delays the function
to make it async sets the maximum time a test can run before it is caneled
21 Throwing Exception
22
23
24