# Overview

Trunk Flaky Tests lets your teams detect, track, quarantine, and fix **flaky tests** in your codebase. Trunk can also identify **broken tests** — tests failing consistently at a high rate that indicate real regressions needing immediate fixes, not just quarantining. Flaky Tests is language, environment, and framework-agnostic.

Let's explore how Trunk Flaky Tests' features help you tackle flaky tests. If you can't wait to try Trunk, follow our [getting started guide](https://docs.trunk.io/flaky-tests/get-started).

You can see an overview of Trunk Flaky Tests in this video.

{% embed url="<https://youtu.be/ORE30UUvOJk>" %}

### Understand the impact

Your dashboard shows a comprehensive overview of your test suite's health at a glance. It lets you see important impact metrics like the number of flaky tests, PRs impacted by flaky tests, and PRs rescued by quarantining flaky tests.

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-1a5e04cebc46561d269d46d7cd0ac1b7abe9570f%2Fkey-metrics-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-e7e1d4c42d0297c1efbce3493bc83cd713b41d3b%2Fkey-metrics-light.png?alt=media" alt=""></picture><figcaption><p>Key repo metrics</p></figcaption></figure>

To learn more, [see how Flaky Tests does detection](https://docs.trunk.io/flaky-tests/detection).

### Track every flaky test

You can find a list of known flaky tests complete with important information like their impact on PRs and if someone's working on a fix. For more granularity, you can also inspect individual tests for their execution history, results, and status changes.

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-31e8ed1a4f8605e3d8465ec8d3c8777ad1774f12%2Fflaky-tests-overview-table-v2-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-9624baa3a0cbddb0b6d8d1f16cc880f4c11264a7%2Fflaky-tests-overview-table-v2-light.png?alt=media" alt=""></picture><figcaption><p>List of flaky tests</p></figcaption></figure>

To learn more, [see how Flaky Tests does detection](https://docs.trunk.io/flaky-tests/detection).

### Stay in sync

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-ca9a7ebf4a0785b0f37dc35c475c91e343cb7de7%2Fgithub-comment-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-5bbf080027555e328d1d02781d3a82cdc2e27941%2Fgithub-comment-light.png?alt=media" alt="PR comment linking to PR Test Summary"></picture><figcaption><p>PR comment linking to PR Test Summary</p></figcaption></figure>

Flaky Tests helps everyone in your team stay in sync about flaky test failures with [GitHub PR comments](https://docs.trunk.io/flaky-tests/github-pull-request-comments), so no time is wasted debugging failures from known flaky tests.

To learn more, [see our docs about GitHub Comments and Test Summaries](https://docs.trunk.io/flaky-tests/github-pull-request-comments).

### Investigate flaky failures

Flaky Tests creates detailed reports for individual test failures so you can debug faster.

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-9df677c6b541355786853a74fb5ba9a055aac51d%2Funique-failure-reason-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-f2f29935f489f03a2f03839f05a16ce4aee1ba8f%2Funique-failure-reason-light.png?alt=media" alt=""></picture><figcaption><p>Summary of unique failure types</p></figcaption></figure>

Test details will summarize all the unique ways a flaky test fails and let you flip through the relevant stack traces in the Trunk app.

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-3e71a5bda37ff57ed4762786d61fa22c746e4fa2%2Frun-details-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-1c59710e3bae4632c9e5a39b5347d3a1b1c1174a%2Frun-details-light.png?alt=media" alt=""></picture><figcaption><p>Full failure stack traces</p></figcaption></figure>

To learn more, [see our docs about the detection of flaky tests](https://docs.trunk.io/flaky-tests/detection).

### **Quarantine flaky failures**

Flaky Tests allows you to [quarantine](https://docs.trunk.io/flaky-tests/quarantining) detected flaky tests, stopping them from failing your CI jobs. This prevents failed flaky tests from impacting your CI pipelines, so you won’t have to disable tests and won’t be slowed down by flaky CI jobs.

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-d8ad255119bd836decaa23861a8e4c7cc63b11ed%2Foverride-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-7684e82c6fe790b257313f912fa421f48bc75328%2Foverride-light.png?alt=media" alt=""></picture><figcaption><p>flaky tests can be quarantined automatically or manually</p></figcaption></figure>

To learn more, [see our docs about quarantining tests](https://docs.trunk.io/flaky-tests/quarantining).

### Manage tickets

<figure><picture><source srcset="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-0adeb36dec5ce71d5d7ad304fdc0979bb0a18626%2Fjira-ticket-creation-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://577236045-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F61Ep9MrYBkJa0Yq3zS1s%2Fuploads%2Fgit-blob-429369987aa4c1d55aabdb5e1b4ebf7f4e4c2325%2Fjira-ticket-creation-light.png?alt=media" alt=""></picture><figcaption><p>Creating a Jira ticket for a flaky test</p></figcaption></figure>

Trunk enables the automation of quickly creating and assigning tickets through integrations with platforms like Jira and Linear, as well as custom workflows with webhooks. The status of tickets created will be reflected in real-time in the Trunk web app. This helps you track efforts to fix high-impact, flaky tests.

To learn more, [learn about our ticketing integrations](https://docs.trunk.io/flaky-tests/ticketing-integrations/jira-integration).

### **Next steps**

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th data-hidden data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Getting started</strong></td><td></td><td><a href="get-started">get-started</a></td></tr><tr><td><strong>Create an account</strong></td><td></td><td><a href="https://app.trunk.io/signup?intent=flaky+tests">https://app.trunk.io/signup?intent=flaky+tests</a></td></tr></tbody></table>

Start finding flaky tests today by [signing up for Trunk](https://app.trunk.io/signup?intent=flaky%20tests) or reading our [Getting Started guides](https://docs.trunk.io/flaky-tests/get-started).
