$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
AIの力でテストのガバレッジ100%にした話
Search
Riya Amemiya
December 20, 2023
Programming
0
1.1k
AIの力でテストのガバレッジ100%にした話
Riya Amemiya
December 20, 2023
Tweet
Share
More Decks by Riya Amemiya
See All by Riya Amemiya
「え?!それ今ではHTMLだけでできるの!?」驚きの進化を遂げたモダンHTML
riyaamemiya
12
5.1k
そのJavaScript、V8が泣いてます。V8の気持ちを理解して書くパフォーマンス最適化
riyaamemiya
22
7.8k
「え?!それ今ではCSSだけでできるの!?」驚きの進化を遂げたモダンCSS
riyaamemiya
1
130
不健康エンジニア「健康」を知る
riyaamemiya
1
1.3k
AIと共同執筆してより質の高い記事を書こう
riyaamemiya
1
640
社内で発信し続けてたら19歳なのに技術リード的なポジションになっちゃった話
riyaamemiya
0
130
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
920
TypeScriptの型で2進数計算
riyaamemiya
0
230
RailsからReactを剥がした話
riyaamemiya
0
710
Other Decks in Programming
See All in Programming
Flutter On-device AI로 완성하는 오프라인 앱, 박제창 @DevFest INCHEON 2025
itsmedreamwalker
1
140
Developing static sites with Ruby
okuramasafumi
0
320
GISエンジニアから見たLINKSデータ
nokonoko1203
0
180
俺流レスポンシブコーディング 2025
tak_dcxi
14
9.4k
Python札幌 LT資料
t3tra
6
1k
認証・認可の基本を学ぼう前編
kouyuume
0
260
著者と進める!『AIと個人開発したくなったらまずCursorで要件定義だ!』
yasunacoffee
0
150
Context is King? 〜Verifiability時代とコンテキスト設計 / Beyond "Context is King"
rkaga
10
1.4k
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
4
940
Full-Cycle Reactivity in Angular: SignalStore mit Signal Forms und Resources
manfredsteyer
PRO
0
160
Tinkerbellから学ぶ、Podで DHCPをリッスンする手法
tomokon
0
140
gunshi
kazupon
1
110
Featured
See All Featured
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.4k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
47
33k
New Earth Scene 8
popppiees
0
1.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
286
14k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
34
Abbi's Birthday
coloredviolet
0
3.6k
The Cult of Friendly URLs
andyhume
79
6.7k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
280
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
130
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
34
Skip the Path - Find Your Career Trail
mkilby
0
24
Transcript
AIの力でテストのガバレッジ100%にした話 1
自己紹介 GMOメディア所属 西悠太 フロントエンドエンジニア TypeScript / Next.js X: Riya31377928 リンク集
2
GMOメディアについて https://www.gmo.media/recruit/ https://speakerdeck.com/gmo_media/gmomedeia-cai-yong-pitutizi-liao-enzinia https://findy-code.io/companies/1113 3
個人開発UMTの紹介 便利な関数を提供するライブラリ 依存なし https://github.com/riya-amemiya/UMT 4
しかしUMTにはこんな問題が 5
テストがガバガバ とりあえず動けばヨシ! そんな体制で開発していました 6
そんな体制で開発していたら 後から自分で使ってバグに気づくことも... 「アプデしたら壊れた」は日常茶飯事 7
テストのガバレッジを100%にしたい リリースの安全性を高める リファクタリングをしやすくする 8
でもテストのガバレッジを100%にするのは難しい 網羅的なテストを書くのは大変 そもそもテスト書くのめんどくさい!!!!! 9
じゃあAIの力を借りよう! 10
AIを活用したテストガバレッジの向上 テストケースを自動生成 不足しているテストケースを追加 テストで見つかったバグを修正 11
おすすめのツール https://cursor.sh/ https://github.com/lobehub/lobe-chat 12
テストケースを自動生成 @Codebase [ ファイルパス] のテストをJest で書いて 13
不足しているテストケースを追加 @Codebase [ ファイルパス] のn 行目が不足しているので追加のテストをJest で書いて 14
テストで見つかったバグを修正 @Codebase [ ファイルパス] のn 行目のバグを修正して 15
まとめ AIの力でテストのガバレッジ100%にした話でした テストイズベリーインポータント 16