Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
VRTを導入してみた話 (2024/01/31)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kaisei Arimura
January 31, 2024
Technology
51
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
VRTを導入してみた話 (2024/01/31)
社外イベント (AWS勉強会)で登壇した際の資料
Kaisei Arimura
January 31, 2024
More Decks by Kaisei Arimura
See All by Kaisei Arimura
MCPサーバーを活用したAWSコスト管理
arie0703
0
450
【制作物紹介】みんなのポルトガル語単語帳
arie0703
0
80
楽しい個人開発のすゝめ (2023/04/26)
arie0703
0
41
Other Decks in Technology
See All in Technology
2026-09-26 Platform Engineering Kaigi 2026 インフラとアプリの境界線と委譲の設計 / Drawing the Infra and App Line
masasuzu
0
600
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
220
おそらく日本で唯一のDevRelインターン生として
husengs7
0
140
形式手法を使って仕様をコーディングしよう
mikanichinose
0
170
プラットフォームを「作る」、 チームに「入り込む」
sansantech
PRO
0
580
サーバーフルコンピューティング?AWS Lambda
iwatatomoya
0
140
IR Today: Theory, Practice, and Agents
dtunkelang
0
330
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
16
120k
カンファレンスに参加した後の浮遊感とセルフケア
pauli
0
300
The kernel report
ennael
PRO
1
210
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
390
Amazon Bedrock Agents ClassicからAmazon Bedrock AgentCoreへ移行した際、ガードレール設定が2箇所に割れた話
matsunobu
0
170
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
440
GitHub's CSS Performance
jonrohan
1033
470k
BBQ
matthewcrist
89
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
2
6.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
720
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Visualization
eitanlees
153
17k
Building Adaptive Systems
keathley
44
3.2k
Transcript
AWSを活用して Visual Regression Test を導入してみた ディップ株式会社 有村 海星
アジェンダ - 自己紹介 - Visual Regression Test (VRT) とは -
導入背景 - どうやって導入したか - 導入した所感
自己紹介 有村 海星 (ありむら かいせい) 所属 ディップ株式会社 2022年新卒入社 「ナースではたらこ」の開発を担当 3
Visual Regression Test とは - フロントエンドのテスト手法の一つ - UIにおける差分を確認するテスト
導入背景 ◯ 「UIに意図しない変更が起きていないか」を楽に確認するため 以前はCSSのリファクタリング等をした後、 目視でUIを確認していた 今後も継続的にリファクタリングをしていきたいが、 長期的に考えると、毎回目視で確認するのはしんどい... → Visual Regression Test
導入へ・・!
どうやって導入したか
どうやって導入したか - テスト内容 UIコンポーネントのスクリーンショットを自動で撮る(Playwright) ↓ 親ブランチとの差分を比較する (reg-suit) ↓ 差分結果をHTMLファイルで出力する 上記のテストをCodeBuildで自動実行
(HTML形式) テスト実行
導入した所感
① 意外に料金が安い • CodeBuild (インスタンスタイプ general1.medium / 1ビルド8分 / 月100回のビルド数)
→ 8 USD / month • S3 (1ヶ月あたり400リクエスト(PUT, GET)と想定) → 2 USD / month • CloudFront オリジン取得は無料
② サーバレスなので運用が楽 今まではEC2を利用してGitHub Actionsで別の自動テストを行っていた パッケージやストレージの管理等、運用が大変だった → CodeBuildなら運用コストが比較的低い
③ 自動化最高! 自動化によって 「UIの差分を毎回目視で確認する」という作業が楽になった(作業効率UP) 自動で生成されるテストレポートを確認するだけ!
ありがとうございました!