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
Amazon Q Developerでテストコードを生成してみた
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
x-blood
December 17, 2024
Programming
52
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Amazon Q Developerで テストコードを生成してみた
x-blood
December 17, 2024
More Decks by x-blood
See All by x-blood
re:Inventで現地参加したコンテナ関連セッションを振り返る
xblood
0
570
Amazon EKS Pod Identityで何が変わるのか
xblood
0
1.1k
Lizさんに届け!AWS Jr. ChampionとTop Engineerが書籍コンテナセキュリティを読んで感じたこと
xblood
0
1.6k
サーバーレスJavaパフォーマンス選手権 at AWS Dev Day 2023 Tokyo
xblood
2
1.5k
サーバーレスJavaの今 ~SnapStartとWeb Adapterを寄せて~
xblood
4
3.7k
Finch OSSコードリーディング
xblood
0
1.5k
ECS Service Connectでマイクロサービスを繋いでみた
xblood
0
2.5k
AWS Glue Git統合のPoCでの活用
xblood
0
240
Spring BootとKubernetesで実現する今どきのDevOps入門
xblood
1
1.3k
Other Decks in Programming
See All in Programming
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
120
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
3
1.5k
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.4k
AWS Transform Customによる Spring Boot 2.xから4.xへのVerUp
satoshi256kbyte
2
120
GKE アップグレード前に知っておきたい Blue/Green と PDB の関係
stkk
0
130
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
220
iOS開発×AI駆動開発 〜最近使って便利だったスキルの話〜
nogu66
0
130
Go を使い始めて 2 ヶ月の学び / My first two months with Go
contour_gara
0
400
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
130
私のClaude Code活用法 (個人開発編) - PHPerKaigi mini #4(2026/08/24)
panda_program
1
200
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
130
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
630
Featured
See All Featured
Paper Plane
katiecoart
PRO
2
53k
How STYLIGHT went responsive
nonsquared
100
6.3k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
330
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
810
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
YesSQL, Process and Tooling at Scale
rocio
174
15k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
GitHub's CSS Performance
jonrohan
1033
470k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Transcript
2024/12/17 AWS re:Invent 2024 re:cap LT大会 1 Amazon Q Developerで
テストコードを生成してみた Yasuyuki Sato AWS re:Invent 2024 re:cap LT大会
2024/12/17 AWS re:Invent 2024 re:cap LT大会 2 自己紹介 佐藤 靖幸
@yasai_ls エンジニア 強み バックエンド開発 クラウドインフラ(AWS) 好きなAWSサービス Amazon ECS, Amazon VPC
2024/12/17 AWS re:Invent 2024 re:cap LT大会 3 このLTについて Amazon Q
Developerでテストコードを生成してみました。 今回はre:Invent 2024のために作ったセッション動画を 要約する200行程度のPythonアプリケーションを対象に テストコードを自動生成してみました。
2024/12/17 AWS re:Invent 2024 re:cap LT大会 4 Agenda ・Amazon Q
Developerでテストコードを生成してみた ・まとめ
2024/12/17 AWS re:Invent 2024 re:cap LT大会 5 IDEはPyCharmを利用 ToolからAmazon Qを選択し
/test コマンドを実行
2024/12/17 AWS re:Invent 2024 re:cap LT大会 6 数分待つとテストコードが生成された ここでリジェクトしてコードを改善することもできそう。 今回はAcceptして提案されたコードを利用してみる。
2024/12/17 AWS re:Invent 2024 re:cap LT大会 7 カバレッジ率はどんなもんでしょう? 95%。脅威のカバー率 ただし、テストは26件失敗していた。
2024/12/17 AWS re:Invent 2024 re:cap LT大会 8 まとめ Amazon Q
Developerでテストコードを生成してみました。 使わない理由はなさそう。 最初のテストコードのコーディングの取っ掛かりとして、 ガンガン利用していきたいと思います。 (テスト失敗しているのは、むしろ実装が悪い可能性も?)
2024/12/17 AWS re:Invent 2024 re:cap LT大会 9 ご清聴ありがとうございました。