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
Removing Corepack
yosuke_furukawa
PRO
9
1.1k
JavaScript Runtime とはなにか
yosuke_furukawa
PRO
15
2.3k
Strip Types と Storage
yosuke_furukawa
PRO
4
310
Module Harmony について
yosuke_furukawa
PRO
3
1.5k
LTのやり方
yosuke_furukawa
PRO
16
2k
AppRouter Panel Talk
yosuke_furukawa
PRO
3
670
Node.js v22 で変わること
yosuke_furukawa
PRO
13
5k
リアーキテクトと開発生産性について
yosuke_furukawa
PRO
25
9.4k
JavaScript Server Runtime History
yosuke_furukawa
PRO
9
3.7k
Other Decks in Programming
See All in Programming
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
6
220
CSC305 Lecture 01
javiergs
PRO
1
140
実践Dash - 手を抜きながら本気で作るデータApplicationの基本と応用 / Dash for Python and Baseball
shinyorke
2
220
為醫療加裝Python的引擎
cclai999
0
270
ECS向けのドリフト検知機構を実装してみた
tkikuc
0
270
上手に付き合うコンポーネントテスト
quramy
3
1.2k
タイミーにおけるデータの利用シーンと データ基盤の挑戦
marufeuille
4
3.1k
AWS認定資格を受験するにあたり、気づいたこと・実践していたことのまとめ
satoshi256kbyte
1
120
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
0
140
5年分のツケを一気に払った話
soogie
3
1.1k
WEBアプリケーションにおけるAWS Lambdaを用いた大規模な非同期処理の実践
delhi09
PRO
7
3.8k
ビット演算の話 / Let's play with bit operations
kaityo256
PRO
3
150
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
16
1k
The Language of Interfaces
destraynor
154
24k
We Have a Design System, Now What?
morganepeng
49
7.1k
Building Your Own Lightsaber
phodgson
102
6k
Practical Orchestrator
shlominoach
185
10k
The Cult of Friendly URLs
andyhume
76
6k
Bootstrapping a Software Product
garrettdimon
PRO
304
110k
Code Review Best Practice
trishagee
62
16k
Large-scale JavaScript Application Architecture
addyosmani
509
110k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
2
210
Testing 201, or: Great Expectations
jmmastey
38
7k
What the flash - Photography Introduction
edds
67
11k
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