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
Launchable and efficient test execution
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
shibuiwilliam
March 17, 2022
Technology
1
180
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
飽くなき自動生成への挑戦
shibuiwilliam
0
19
AIエージェントのメモリについて
shibuiwilliam
0
390
画像生成AIについて
shibuiwilliam
0
38
2026年はチャンキングを極める!
shibuiwilliam
9
2.1k
R&Dチームを起ち上げる
shibuiwilliam
1
180
AIエージェント開発と活用を加速するワークフロー自動生成への挑戦
shibuiwilliam
5
1k
プロンプトやエージェントを自動的に作る方法
shibuiwilliam
17
19k
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
600
AIエージェントによるエンタープライズ向けスライド検索!
shibuiwilliam
4
1.5k
Other Decks in Technology
See All in Technology
AIエージェントで変わる開発プロセス ― レビューボトルネックからの脱却
lycorptech_jp
PRO
2
730
パネルディスカッション資料 (at Tableau Now! - 2026-02-26)
yoshitakaarakawa
0
440
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
30分でわかるアーキテクチャモダナイゼーション
nwiizo
8
3.7k
1 年間の育休から時短勤務で復帰した私が、 AI を駆使して立ち上がりを早めた話
lycorptech_jp
PRO
0
170
大規模な組織におけるAI Agent活用の促進と課題
lycorptech_jp
PRO
4
5.9k
AI時代のAPIファースト開発
nagix
2
610
Intro SAGA Event Space
midnight480
0
160
Scrum Fest Morioka 2026
kawaguti
PRO
2
660
20260222ねこIoTLT ねこIoTLTをふりかえる
poropinai1966
0
220
インシデント対応入門
grimoh
7
5.2k
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
141
7.3k
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4k
Music & Morning Musume
bryan
47
7.1k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
540
The Cult of Friendly URLs
andyhume
79
6.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
220
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
1
130
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
130
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