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
Docker Node Testerの話 in 葉桜js
Search
Yosuke Furukawa
PRO
April 14, 2014
Programming
1
2.1k
Docker Node Testerの話 in 葉桜js
Docker Node TesterというDocker上でNode.jsのテストを行うツールの紹介です。
Yosuke Furukawa
PRO
April 14, 2014
Tweet
Share
More Decks by Yosuke Furukawa
See All by Yosuke Furukawa
Node.js, Deno, Bun 最新動向とその所感について
yosuke_furukawa
PRO
6
3k
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
1
3.9k
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
200
Removing Corepack
yosuke_furukawa
PRO
9
1.5k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.7k
Strip Types と Storage
yosuke_furukawa
PRO
4
380
Module Harmony について
yosuke_furukawa
PRO
3
1.7k
LTのやり方
yosuke_furukawa
PRO
16
2.5k
AppRouter Panel Talk
yosuke_furukawa
PRO
3
770
Other Decks in Programming
See All in Programming
JavaOne 2025: Advancing Java Profiling
jbachorik
1
320
自分のために作ったアプリが、グローバルに使われるまで / Indie App Development Lunch LT
pixyzehn
1
120
SQL Server ベクトル検索
odashinsuke
0
120
PHPUnit 高速化テクニック / PHPUnit Speedup Techniques
pinkumohikan
1
1.2k
生成AIの使いどころ
kanayannet
0
100
GDG Super.init(version=6) - From Where to Wear : 모바일 개발자가 워치에서 발견한 인사이트
haeti2
0
560
Windows版PHPのビルド手順とPHP 8.4における変更点
matsuo_atsushi
0
370
CTFのWebにおける⾼難易度問題について
hamayanhamayan
1
980
本当だってば!俺もTRICK 2022に入賞してたんだってば!
jinroq
0
250
Django for Data Science (Boston Python Meetup, March 2025)
wsvincent
0
240
AI Agents with JavaScript
slobodan
0
120
Modern Angular:Renovation for Your Applications @angularDays 2025 Munich
manfredsteyer
PRO
0
140
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
39
7.2k
Agile that works and the tools we love
rasmusluckow
328
21k
The Invisible Side of Design
smashingmag
299
50k
A Tale of Four Properties
chriscoyier
158
23k
Music & Morning Musume
bryan
46
6.4k
Writing Fast Ruby
sferik
628
61k
Code Reviewing Like a Champion
maltzj
522
39k
Rails Girls Zürich Keynote
gr2m
94
13k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
28
2k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
30
1.1k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Transcript
Docker Node Tester Node.js test powered by Docker
Docker ὑ node.js
Use Docker when your tests
Node.js v0.12Ͱมߋଟ͍
V8 όʔδϣϯΞοϓ C++ addonͷॻ͖ํมߋ ES6 feature ͷಋೖ ίΞϞδϡʔϧͷbugfix
͜Ε·Ͱͷίʔυ͕ͦͷ·· ಈ͘อূͳ͍ɻ (※ͪΖΜޓੑέΞ͞ΕͯΔ͕…)
࠷৽όʔδϣϯͰಈ࡞Ͱ͖Δ ͷ͔ɺςετ͠·͠ΐ͏
ͦ͜Ͱ Docker Node Tester https://github.com/rvagg/dnt
ઃఆϑΝΠϧ(.dntrc)Λॻ͚Docker ͰNode.jsͷόʔδϣϯΛมߋͯ͠ ςετͯ͘͠ΕΔ NODE_VERSIONS="\ master \ v0.11.9 \ v0.10.22 \
v0.8.26 \ " OUTPUT_PREFIX="nan-" TEST_CMD="\ cd /dnt/test/ && \ npm install && \ node_modules/.bin/node-gyp --nodedir /usr/src/node/ rebuild && \ node_modules/.bin/tap js/*-test.js; \ " EOUSDͷྫ
ઃఆϑΝΠϧ(.dntrc)Λॻ͚Docker ͰNode.jsͷόʔδϣϯΛมߋͯ͠ ςετͯ͘͠ΕΔ NODE_VERSIONS="\ master \ v0.11.9 \ v0.10.22 \
v0.8.26 \ " OUTPUT_PREFIX="nan-" TEST_CMD="\ cd /dnt/test/ && \ npm install && \ node_modules/.bin/node-gyp --nodedir /usr/src/node/ rebuild && \ node_modules/.bin/tap js/*-test.js; \ " EOUSDͷྫ UFTUରόʔδϣϯ UFTUίϚϯυ
travis ͩͱ͍͍ͪͪpush໘
Docker Node Testerखݩͷshell ͕dockerΛىಈͤͯ͞ςετ͢Δͨ Ίɺpushෆཁɻ
cool isn’t it ?! :D