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
350
VCRを更新するPRが自動で飛ぶ世界で気をつけたこと
Kunio Okita
June 29, 2019
Tweet
Share
More Decks by Kunio Okita
See All by Kunio Okita
DeNA品質管理部を支えるカルチャーと取り組み
okitan
0
790
microservicesにおけるAPI自動テストにまつわるエトセトラ
okitan
12
5.2k
DeNAの取り組むテストエンジニアリング
okitan
5
13k
SWETの現在とこれから
okitan
3
7.7k
Other Decks in Technology
See All in Technology
サーバレスアプリ開発者向けアップデートをキャッチアップしてきた #AWSreInvent #regrowth_fuk
drumnistnakano
0
190
OpenAIの蒸留機能(Model Distillation)を使用して運用中のLLMのコストを削減する取り組み
pharma_x_tech
4
540
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
Wantedly での Datadog 活用事例
bgpat
1
420
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
120
NW-JAWS #14 re:Invent 2024(予選落ち含)で 発表された推しアップデートについて
nagisa53
0
250
UI State設計とテスト方針
rmakiyama
2
390
Wvlet: A New Flow-Style Query Language For Functional Data Modeling and Interactive Data Analysis - Trino Summit 2024
xerial
1
110
ブラックフライデーで購入したPixel9で、Gemini Nanoを動かしてみた
marchin1989
1
520
AWS re:Invent 2024で発表された コードを書く開発者向け機能について
maruto
0
180
GitHub Copilot のテクニック集/GitHub Copilot Techniques
rayuron
24
11k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Statistics for Hackers
jakevdp
796
220k
How STYLIGHT went responsive
nonsquared
95
5.2k
Designing Experiences People Love
moore
138
23k
Automating Front-end Workflow
addyosmani
1366
200k
Embracing the Ebb and Flow
colly
84
4.5k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
RailsConf 2023
tenderlove
29
940
Faster Mobile Websites
deanohume
305
30k
Site-Speed That Sticks
csswizardry
2
190
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Producing Creativity
orderedlist
PRO
341
39k
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