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
test your nodejs code
Search
damienklinnert
September 27, 2012
Programming
370
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
test your nodejs code
an opinionated introduction by Damien Klinnert
damienklinnert
September 27, 2012
More Decks by damienklinnert
See All by damienklinnert
Angular Performance Tuning
damienklinnert
4
280
angular decorate
damienklinnert
1
96
Angular Performance Talk
damienklinnert
0
140
Fight the Rot - Refactor stinky JavaScript
damienklinnert
0
200
modern web apps
damienklinnert
0
130
Become a node package maintainer
damienklinnert
1
110
bootstrap single page apps
damienklinnert
1
310
Other Decks in Programming
See All in Programming
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
370
気持ちぃ〜角丸 Squircle
ryu1013
0
290
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
650
Simple Storage Service(S3) is not simple
iwatsukayura
0
280
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
390
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
480
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
210
Optunaを作ったときにやりたかったこと、その後 (2026/10/16, Optuna Meetup #3)
iwiwi
0
100
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
150
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
180
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.9k
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
350
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
260
The Cost Of JavaScript in 2023
addyosmani
55
10k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
730
The agentic SEO stack - context over prompts
schlessera
0
970
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
New Earth Scene 8
popppiees
4
2.7k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.3k
Transcript
test your nodejs code an opinionated introduction by Damien Klinnert
1 Donnerstag, 27. September 12
whois damienklinnert student of computer science works at doctape jsdev
since beginning of 2012 follow me @damienklinnert 2 Donnerstag, 27. September 12
unit tests??? 3 Donnerstag, 27. September 12
what is it? 4 Donnerstag, 27. September 12
advantages of unit tests JS is a dynamic language additional
lines of code, but less errors continous integration -> less errors over time NOT THE ANSWER TO EVERYTHING 5 Donnerstag, 27. September 12
test your nodejs code 6 Donnerstag, 27. September 12
tools mocha should npm couchviews couchpenter nock travis-ci 7 Donnerstag,
27. September 12
tools/mocha feature-rich JavaScript test framework many different test outputs can
create documentation only a few keywords to remember like: describe(), it(), before(), after(), beforeEach(), afterEach() 8 Donnerstag, 27. September 12
tools/should expressive, readable, test framework agnostic, assertion library extends the
Object prototype should … exist, have.keys, equal, throwError() 9 Donnerstag, 27. September 12
tools/npm npm comes with script support no need for makefiles
for common tasks like "run all tests" or "generate docs" 10 Donnerstag, 27. September 12
demo time 11 Donnerstag, 27. September 12
tools/couchviews Store and load CouchDB views to / from your
file system for easier setup of new databases 12 Donnerstag, 27. September 12
tools/couchpenter CouchDB database and document setup tool CLI to setup
new couchdb‘s from a json file 13 Donnerstag, 27. September 12
tools/nock HTTP HTTP mocking library create api test environments 14
Donnerstag, 27. September 12
tools/travis-ci A hosted continuous integration service for the open source
community. 15 Donnerstag, 27. September 12
reading http:/ /visionmedia.github.com/mocha/ https:/ /github.com/visionmedia/should.js/ https:/ /npmjs.org/doc/ https:/ /github.com/damienklinnert/couchviews https:/
/github.com/cliffano/couchpenter https:/ /github.com/flatiron/nock http:/ /travis-ci.org/ 16 Donnerstag, 27. September 12
thank you 17 Donnerstag, 27. September 12