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
8
3.6k
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
1
4k
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
220
Removing Corepack
yosuke_furukawa
PRO
9
1.6k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.8k
Strip Types と Storage
yosuke_furukawa
PRO
4
400
Module Harmony について
yosuke_furukawa
PRO
3
1.7k
LTのやり方
yosuke_furukawa
PRO
16
2.6k
AppRouter Panel Talk
yosuke_furukawa
PRO
3
800
Other Decks in Programming
See All in Programming
從零到一:搭建你的第一個 Observability 平台
blueswen
0
330
Using AI Tools Around Software Development
inouehi
0
1k
AIにコードを生成するコードを作らせて、再現性を担保しよう! / Let AI generate code to ensure reproducibility
yamachu
7
6.2k
Julia という言語について (FP in Julia « SIDE: F ») for 関数型まつり2025
antimon2
3
740
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
3
1.9k
データベースコネクションプール(DBCP)の変遷と理解
fujikawa8
1
210
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
1
420
関数型まつり2025登壇資料「関数プログラミングと再帰」
taisontsukada
2
630
iOSアプリ開発で 関数型プログラミングを実現する The Composable Architectureの紹介
yimajo
1
160
Blueskyのプラグインを作ってみた
hakkadaikon
1
440
JSAI2025 RecSysChallenge2024 優勝報告
unonao
1
430
List Unfolding - 'unfold' as the Computational Dual of 'fold', and how 'unfold' relates to 'iterate'"
philipschwarz
PRO
0
180
Featured
See All Featured
Site-Speed That Sticks
csswizardry
9
620
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
770
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Gamification - CAS2011
davidbonilla
81
5.3k
Raft: Consensus for Rubyists
vanstee
138
7k
Scaling GitHub
holman
459
140k
Building an army of robots
kneath
306
45k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Designing for humans not robots
tammielis
253
25k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.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