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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Kunio Okita
June 29, 2019
Technology
520
1
Share
VCRを更新するPRが自動で飛ぶ世界で気をつけたこと
Kunio Okita
June 29, 2019
More Decks by Kunio Okita
See All by Kunio Okita
DeNA品質管理部を支えるカルチャーと取り組み
okitan
0
1k
microservicesにおけるAPI自動テストにまつわるエトセトラ
okitan
12
5.4k
DeNAの取り組むテストエンジニアリング
okitan
5
13k
SWETの現在とこれから
okitan
3
8k
Other Decks in Technology
See All in Technology
ふりかえりを 「あそび」にしたら、 学習が勝手に進んだ / Playful Retros Drive Learning
katoaz
0
440
さくらのAI Engineから始める クラウドネイティブ意識
melonps
0
130
プロダクトを触って語って理解する、チーム横断バグバッシュのすすめ / 20260411 Naoki Takahashi
shift_evolve
PRO
1
260
ストライクウィッチーズ2期6話のエイラの行動が許せないのでPjMの観点から何をすべきだったのかを考える
ichimichi
1
320
New CBs New Challenges
ysuzuki
1
170
GitHub Copilotを極める会 - 開発者のための活用術
findy_eventslides
6
3.9k
新メンバーのために、シニアエンジニアが環境を作る時代
puku0x
0
610
AI前提とはどういうことか
daisuketakeda
0
170
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Bluesky Meetup in Tokyo vol.4 - 2023to2026
shinoharata
0
140
Strands Agents × Amazon Bedrock AgentCoreで パーソナルAIエージェントを作ろう
yokomachi
2
260
終盤で崩壊させないAI駆動開発
j5ik2o
0
450
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
WCS-LA-2024
lcolladotor
0
520
How Software Deployment tools have changed in the past 20 years
geshan
0
33k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Un-Boring Meetings
codingconduct
0
260
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.4k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
170
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Into the Great Unknown - MozCon
thekraken
40
2.3k
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