$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Launchable and efficient test execution
Search
shibuiwilliam
March 17, 2022
Technology
1
170
Launchable and efficient test execution
test execution efficiency with predictive test selection by machine learning and Launchable
shibuiwilliam
March 17, 2022
Tweet
Share
More Decks by shibuiwilliam
See All by shibuiwilliam
AIエージェント開発と活用を加速するワークフロー自動生成への挑戦
shibuiwilliam
4
760
プロンプトやエージェントを自動的に作る方法
shibuiwilliam
15
16k
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
450
AIエージェントによるエンタープライズ向けスライド検索!
shibuiwilliam
4
1.1k
実践マルチモーダル検索!
shibuiwilliam
3
870
生成AI時代のデータ基盤
shibuiwilliam
7
5.1k
LLM時代の検索とコンテキストエンジニアリング
shibuiwilliam
3
1.9k
AI人生苦節10年で会得したAIがやること_人間がやること.pdf
shibuiwilliam
1
460
LayerXのApplied R&D
shibuiwilliam
2
98
Other Decks in Technology
See All in Technology
AgentCore BrowserとClaude Codeスキルを活用した 『初手AI』を実現する業務自動化AIエージェント基盤
ruzia
7
830
AWS Security Agentの紹介/introducing-aws-security-agent
tomoki10
0
380
AWSに革命を起こすかもしれない新サービス・アップデートについてのお話
yama3133
0
460
New Relic 1 年生の振り返りと Cloud Cost Intelligence について #NRUG
play_inc
0
160
ハッカソンから社内プロダクトへ AIエージェント「ko☆shi」開発で学んだ4つの重要要素
sonoda_mj
6
1.3k
20251222_サンフランシスコサバイバル術
ponponmikankan
2
130
ExpoのインダストリーブースでみたAWSが見せる製造業の未来
hamadakoji
0
180
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
100
特別捜査官等研修会
nomizone
0
520
高度サイバー人材育成専科資料(前半)
nomizone
0
410
AIBuildersDay_track_A_iidaxs
iidaxs
4
930
Building Serverless AI Memory with Mastra × AWS
vvatanabe
0
200
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
0
90
We Have a Design System, Now What?
morganepeng
54
7.9k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
0
210
Highjacked: Video Game Concept Design
rkendrick25
PRO
0
240
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Un-Boring Meetings
codingconduct
0
160
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
320
Test your architecture with Archunit
thirion
1
2.1k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Build The Right Thing And Hit Your Dates
maggiecrowley
38
3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Transcript
Launchableで始める テスト実行効率化 2022/03/15 Launchable Inc. shibui yusuke
shibui yusuke • いろいろ → Launchable(いまここ) • MLOpsとかいろいろエンジニア • もともとクラウド基盤の開発、運用
• ここ6年くらいMLOpsとバックエンドと インフラとたまにデータ分析と Androidで仕事 • Github: @shibuiwilliam • FB: yusuke.shibui • Meety: https://meety.net/matches/OPJgijxiEMHE cat : 0.55 dog: 0.45 human : 0.70 gorilla : 0.30 物体検知 2 物体検知
猫が物欲しそうな表情をしています。 3 1. 餌を上げる 2. 遊ぶ 3. 撫でる 4. ほっとく
A. 全部試して反応をみる B. 経験から可能性の 高いものを選ぶ 答えはLTの最後で!
CI/CDの次へ 4 テストを書く テストを自動実行する 必要なテストを実行する
5 – エンジニアの声 コードを1行変えただけなのに テストをすべて実行しないと マージできない・・・。 “ “
6
Predictive test selection by machine learning 7 学習 推論 教師データ
実行するテスト Tests Test results Tests Test pass/fail probability Feature engineering Model training Evaluation Model serving Deploy judgement
Launchableの仕組み 8 Launchable git push CI/CD Collect tests Important and
effective tests Analyse and filter tests Test records
Launchableの仕組み 9 Launchable Analyse and filter tests Test records ML
テスト実行の課題 時間の課題 全テスト実行時間を短縮したい ▶ 並列実行、リソース追加・・・ ▶ 失敗しやすいテストを優先して実行 10 安定性の課題 同一コミットでもランダムに失敗するテスト
(Flaky test) ▶ Flakinessを評価し修正可能なテストを 明確化
実行する必要のあるテストを並び替え 11 Low Medium High T8 T4 T3 T6 T2
T5 T7 T1 Time to First Failure (TTFF) 失敗する可能性の高い テストを優先して実行する ように並び替えることで テスト実行を効率化
まとめ ▶ 機械学習による実行すべきテストのフィルタリング ▶ テストの失敗が判明するまでのテスト実行時間を評価 ▶ Flakinessによる直すべきテストの明確化 12 「盗んできたおやつを 開けられなくて
悲しい顔をしていた」 が正解
Thank you! 13