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
VCRを更新するPRが自動で飛ぶ世界で気をつけたこと
Search
Kunio Okita
June 29, 2019
Technology
1
380
VCRを更新するPRが自動で飛ぶ世界で気をつけたこと
Kunio Okita
June 29, 2019
Tweet
Share
More Decks by Kunio Okita
See All by Kunio Okita
DeNA品質管理部を支えるカルチャーと取り組み
okitan
0
840
microservicesにおけるAPI自動テストにまつわるエトセトラ
okitan
12
5.2k
DeNAの取り組むテストエンジニアリング
okitan
5
13k
SWETの現在とこれから
okitan
3
7.7k
Other Decks in Technology
See All in Technology
What's new in Go 1.24?
ciarana
1
110
ディスプレイ広告(Yahoo!広告・LINE広告)におけるバックエンド開発
lycorptech_jp
PRO
0
500
実は強い 非ViTな画像認識モデル
tattaka
3
1.4k
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
170
困難を「一般解」で解く
fujiwara3
7
1.6k
20250304_赤煉瓦倉庫_DeepSeek_Deep_Dive
hiouchiy
2
110
入門 PEAK Threat Hunting @SECCON
odorusatoshi
0
170
フォーイット_エンジニア向け会社紹介資料_Forit_Company_Profile.pdf
forit_tech
1
1.7k
Ruby on Railsで持続可能な開発を行うために取り組んでいること
am1157154
3
160
30→150人のエンジニア組織拡大に伴うアジャイル文化を醸成する役割と取り組みの変化
nagata03
0
200
LINEギフトにおけるバックエンド開発
lycorptech_jp
PRO
0
390
Two Blades, One Journey: Engineering While Managing
ohbarye
4
2.3k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Unsuck your backbone
ammeep
669
57k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.2k
A designer walks into a library…
pauljervisheath
205
24k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Documentation Writing (for coders)
carmenintech
68
4.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
440
Navigating Team Friction
lara
183
15k
How STYLIGHT went responsive
nonsquared
99
5.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3k
How to train your dragon (web standard)
notwaldorf
91
5.9k
Transcript
@ C 9 310 -2 316 6 -0 0
/ / ./ 3
(
!
1 )0 ( E
1
4 1
1
7 1
P8 A • 8 • 1) . • I 8
8 • 1 5 2 01 8
None
0 2 A
1
32 32
(
7 2 2
C 8 2 A 8
2 9 A
0 3 3
- - - 03 - - 0-1 1 1 -
- 03 - - C D
" 2-/ 2 2 3
33 mo g r • Is mo • e V
• n 43 3- - i a V AVPd • VC g 33 c 33 a V RI • tVP 3 V • u m C
6 3
1 2 ,03
4 0 • 4 response: headers: Date: - "<%= Time.now
%>"
VCR.configure do |config| config.default_cassette_options = { erb: true } end
VCR.configure do |config| config.before_record do |e| headers = e.response.headers headers["Date"]
= ["<%= Time.now %>"] if headers["Date"] end end
X-Request-Id X-Runtime X-Runtime-Rack X-Ratelimit-Remaining X-Ratelimit-Reset X-Github-Request-Id X-Amz-Request-Id X-Amz-Id-2 X-Served-By
X-Cache X-Cache-Hits X-Timer X-Artifactory-Node-Id X-Node X-Fastly-Request-Id Cf-Ray
Etag Expires 4
VCR.configure do |config| config.before_record do |e| headers
= e.response.headers headers.delete("Set-Cookie") end end
0 - - 0 A 5
1 5
2
VCR.configure do |config| config.before_record do |e| e.recorded_at
= Time.at(0) end end
6 +66 −248 5 ( )
7 7 5 C
https://github.com/github/linguist
2 recorded_with: VCR 9C5 9 5
spec/fixtures/vcr_cassettes/* linguist-generated=false
. / 2 spec/fixtures/vcr_cassettes/ @okitan
16 3
5 6