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
Welcome JSConf.jp 2024
yosuke_furukawa
PRO
1
3.6k
tc39 x jsconf.jp Panel Discussion 2024
yosuke_furukawa
PRO
0
180
Removing Corepack
yosuke_furukawa
PRO
9
1.4k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.6k
Strip Types と Storage
yosuke_furukawa
PRO
4
360
Module Harmony について
yosuke_furukawa
PRO
3
1.6k
LTのやり方
yosuke_furukawa
PRO
16
2.3k
AppRouter Panel Talk
yosuke_furukawa
PRO
3
740
Node.js v22 で変わること
yosuke_furukawa
PRO
13
5.6k
Other Decks in Programming
See All in Programming
Beyond ORM
77web
11
1.6k
ゼロからの、レトロゲームエンジンの作り方
tokujiros
3
1k
선언형 UI에서의 상태관리
l2hyunwoo
0
270
EC2からECSへ 念願のコンテナ移行と巨大レガシーPHPアプリケーションの再構築
sumiyae
3
580
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
400
AWSのLambdaで PHPを動かす選択肢
rinchoku
2
390
いりゃあせ、PHPカンファレンス名古屋2025 / Welcome to PHP Conference Nagoya 2025
ttskch
1
140
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
170
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
5.9k
php-conference-japan-2024
tasuku43
0
430
快速入門可觀測性
blueswen
0
490
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
250
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
32
6.4k
Code Review Best Practice
trishagee
65
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Statistics for Hackers
jakevdp
797
220k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
950
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
500
Making Projects Easy
brettharned
116
6k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
3
170
The Invisible Side of Design
smashingmag
299
50k
Bash Introduction
62gerente
610
210k
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