Skip to main content
Testing12 min read

不安定なテストを排除する:体系的なアプローチ

テストスイートの不安定率を10%から1%未満に改善した方法 — リトライロジック、テストの分離、決定論的データ、そしてテストを信頼性高くするパターン。

Part ofTesting & QA->
By Jason TeixeiraFebruary 28, 2026
TestingQAFlaky TestspytestCI/CDSelenium
Share:
On this page

不安定テスト(flaky test)とは、コード変更がないにもかかわらず、合格したり不合格したりするテストのことです。不安定率が10%になると、開発者はテストスイートを信用しなくなります。20%になると、テストを実行しなくなります。

私はテストスイートの不安定率を10%から1%未満に改善してきました。以下がその体系的なアプローチです。

ステップ1:不安定率を測定する

測定しなければ改善はできません。時間経過に伴う不安定さを追跡しましょう:

\

Reader route

article -> proof -> offer

ReadClusterProofScope

cluster

Testing & QA

intent

Testing

route

next step

What to do with this

Turn the note into a build path.

If this topic maps to a real business problem, keep reading the cluster, study the academy path, or route the work into a scoped engagement.

Jason Teixeira
Written by
Jason Teixeira
Founder, Sage Ideas Studio · Principal Engineer
livebuild 5d6c8652026-08-05 06:00Z
// solo studio// no analytics resold// every commit human-reviewed