<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto" -->

---
title: Tuist now supports detecting flaky tests | daily.dev
description: Tuist has launched a feature to detect flaky tests in Xcode projects by leveraging its existing hashing logic used for caching and smart test runs. A test is...
canonical: https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Tuist now supports detecting flaky tests | daily.dev
og:description: Tuist has launched a feature to detect flaky tests in Xcode projects by leveraging its existing hashing logic used for caching and smart test runs. A test is...
og:url: https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto
og:image: https://api.daily.dev/og/posts/bWTRmpDtO.png
og:image:alt: Tuist now supports detecting flaky tests
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Tuist now supports detecting flaky tests

**[
      Tuist
    ](https://daily.dev/sources/tuist-blog)** · 4 min read · 0 upvotes · 0 comments

## Summary

Tuist has launched a feature to detect flaky tests in Xcode projects by leveraging its existing hashing logic used for caching and smart test runs. A test is flagged as flaky if it produces different results without any change to its containing module's hash, information that's hard to obtain through Xcode's build system alone. The feature works automatically when running tests via 'tuist test' and is the first of three planned phases: detecting flakiness, preventing it when new tests are added, and eventually providing tools to auto- or manually disable flaky tests. Future iterations plan to add a flakiness score based on run history.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://tuist.dev/blog/2024/07/10/detecting-flaky-tests>

## Questions this post answers

### How does Tuist detect flaky tests in an Xcode project?

Tuist detects flaky tests by comparing hash values of a test's containing module across runs, using the same hashing logic it already applies for binary caching and smart test runs. If the module's hash is unchanged but the test result differs between runs, the test is flagged as flaky. This works automatically when tests are run with the 'tuist test' command, and Tuist persists these results over time to build a list of flaky tests.

_Developers wrestling with unreliable CI test failures can find tooling updates like this via daily.dev._

### What are the planned phases of Tuist's flaky test handling feature?

Tuist's flaky test initiative is planned in three phases: first, detecting and surfacing flaky tests (already released), second, helping teams prevent flakiness when introducing new tests, and third, providing tools to automatically or manually disable known flaky tests. A future iteration also plans to add a flakiness score based on a test's run history rather than just a binary flagged list.

_Teams tracking CI reliability tooling roadmaps can follow updates like this on daily.dev._

## Similar posts on daily.dev

- [Taming Test Flakiness: How We Built a Scalable Tool to Detect and Manage Flaky Tests](https://daily.dev/posts/taming-test-flakiness-how-we-built-a-scalable-tool-to-detect-and-manage-flaky-tests-vm5csu9nu) · Atlassian · 0 upvotes · 0 comments
- [How to Tame Your Flaky Tests in TeamCity](https://daily.dev/posts/how-to-tame-your-flaky-tests-in-teamcity-srhpeck9w) · JetBrains · 0 upvotes · 0 comments
- [Toss: Building less to ship faster](https://daily.dev/posts/toss-building-less-to-ship-faster-1arhtus0n) · 
      Tuist
     · 4 upvotes · 0 comments
- [Why flaky tests are increasing, and what you can do about it](https://daily.dev/posts/why-flaky-tests-are-increasing-and-what-you-can-do-about-it-vnrza0zoj) · SD Times · 0 upvotes · 0 comments
- [foojay – a place for friends of OpenJDK](https://daily.dev/posts/foojay-a-place-for-friends-of-openjdk-gtaabt8tp) · Foojay.io · 1 upvotes · 0 comments

---

Tags: [#ios](https://daily.dev/tags/ios), [#swift](https://daily.dev/tags/swift), [#testing](https://daily.dev/tags/testing), [#tuist](https://daily.dev/tags/tuist)

[View this post on daily.dev](https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Tuist now supports detecting flaky tests","url":"https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto"},"datePublished":"2026-08-23T12:20:06.637Z","dateModified":"2026-10-15T02:22:36.758Z","description":"Tuist has launched a feature to detect flaky tests in Xcode projects by leveraging its existing hashing logic used for caching and smart test runs. A test is...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1d3463d004f5829ea26d7d3f84946016?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/1d3463d004f5829ea26d7d3f84946016?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"\n      Tuist\n    ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"\n      Tuist\n    ","logo":"https://media.daily.dev/image/upload/s--3AYDH23h--/f_auto,q_auto/v1787487506/logos/tuist-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/tuist-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"ios,swift,testing,tuist","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"\n      Tuist\n    ","item":"https://daily.dev/sources/tuist-blog"},{"@type":"ListItem","position":3,"name":"Tuist now supports detecting flaky tests"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/tuist-now-supports-detecting-flaky-tests-bwtrmpdto#faq","mainEntity":[{"@type":"Question","name":"How does Tuist detect flaky tests in an Xcode project?","acceptedAnswer":{"@type":"Answer","text":"Tuist detects flaky tests by comparing hash values of a test's containing module across runs, using the same hashing logic it already applies for binary caching and smart test runs. If the module's hash is unchanged but the test result differs between runs, the test is flagged as flaky. This works automatically when tests are run with the 'tuist test' command, and Tuist persists these results over time to build a list of flaky tests. Developers wrestling with unreliable CI test failures can find tooling updates like this via daily.dev."}},{"@type":"Question","name":"What are the planned phases of Tuist's flaky test handling feature?","acceptedAnswer":{"@type":"Answer","text":"Tuist's flaky test initiative is planned in three phases: first, detecting and surfacing flaky tests (already released), second, helping teams prevent flakiness when introducing new tests, and third, providing tools to automatically or manually disable known flaky tests. A future iteration also plans to add a flakiness score based on a test's run history rather than just a binary flagged list. Teams tracking CI reliability tooling roadmaps can follow updates like this on daily.dev."}}]}
```

