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
サバイバルモード下でのエンジニアリングマネジメント
konifar
22
7.4k
生成AI×財務経理:PoCで挑むSlack AI Bot開発と現場巻き込みのリアル
pohdccoe
1
820
MIMEと文字コードの闇
hirachan
2
1.5k
AI自体のOps 〜LLMアプリの運用、AWSサービスとOSSの使い分け〜
minorun365
PRO
9
1.1k
Two Blades, One Journey: Engineering While Managing
ohbarye
4
2.7k
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
180
Platform Engineeringで クラウドの「楽しくない」を解消しよう
jacopen
4
220
データモデルYANGの処理系を再発明した話
tjmtrhs
0
330
Snowflake ML モデルを dbt データパイプラインに組み込む
estie
0
120
Pwned Labsのすゝめ
ken5scal
2
570
RayでPHPのデバッグをちょっと快適にする
muno92
PRO
0
200
RaspberryPi CM4(CM5も)面白いぞ!
nonnoise
0
160
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Thoughts on Productivity
jonyablonski
69
4.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Visualization
eitanlees
146
15k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Code Review Best Practice
trishagee
67
18k
KATA
mclloyd
29
14k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
193
16k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
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