VOOZH about

URL: https://thenewstack.io/circlecis-test-insights-takes-aim-at-flaky-tests/

⇱ CircleCI’s Test Insights Takes Aim at 'Flaky' Tests - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2021-11-09 03:00:43
CircleCI’s Test Insights Takes Aim at 'Flaky' Tests
news,
CI/CD

CircleCI’s Test Insights Takes Aim at ‘Flaky’ Tests

CircleCI has added a new Test Insights tool to its continuous integration and continuous delivery (CI/CD) platform. The tool helps developers avoid "flaky" test results during the software development process.
Nov 9th, 2021 3:00am by B. Cameron Gain
👁 Featued image for: CircleCI’s Test Insights Takes Aim at ‘Flaky’ Tests

The ability to drill down into so-called “flaky” test problems prior to software deployment is among the new features CircleCI has released for its new Test Insights tool that is part of its continuous integration and continuous delivery (CI/CD) platform.

While using CircleCI’s Insights dashboard for CI/CD analytics in the past — as well as with any other testing process — users have very often faced difficulties with flaky test results during the development process, the company said. These flaky results involve random test failures with no apparent indication of why they failed. The developer, for example, runs the same test on the same code and might inexplicably get five fails and five passes. Fixing these common testing abnormalities typically requires domain knowledge and the expertise of an expert other than the developer to fix, thus slowing down the development process.

“Flaky tests cost time and money and domain knowledge to fix. Someone new wouldn’t be able to figure out what’s happening or identify the problems, and then they may lose trust in the entire test suite if it keeps failing randomly,” CircleCI product manager Dawit Gebregziabher told The New Stack. “So, what we’re bringing is a way to identify these tests quickly and then offer a path to fixing them or removing them from your test suite.”

With the flaky-test analysis feature that CircleCI’s Test Insights tool offers, the model detects the problem test component to then “get to a point where it is really learning the intricacies and the nuances of your system” to offer possible fixes for, or replacements of, the test, Gebregziabher said. “Tests with unpredictable behavior are also usually flagged before the testing process begins,” Gebregziabher said.

👁 CircleCI's test insights

According to CircleCI data, the average failed workflow wastes approximately 30 minutes. With more than 4,000 flaky tests identified per day, CircleCI users can now save more than 2,000 otherwise wasted hours per day, collectively, through eliminating flaky test failures, the company said.

👁 The results of CircleCI's tests

Other new features Test Insights offers that CircleCI communicated include:

  • Improved velocity. Identification of the longest-running and most-failed tests for more rapid fixes.
  • Lookback periods to understand performance changes over time. Changes in behavior and performance are pinpointed with a diagnosis of “the culprits” behind the changes in order to improve efficiency.
  • Ability to make actionable improvements with insight trends from CircleCI’s Benchmarks database. Available datasets related to testing include throughput, duration, mean time to recovery, success rates and other metrics.

CircleCI’s ongoing development of its testing and debugging tools will continue to involve bringing observability into test performance, Gebregziabher said. After releasing the Insights dashboard about a year ago, the most requested feature has been test-performance data.

“The trend now is for developers to follow their code into production, so, you are responsible for testing your own code, as developers seek opportunities for test optimizations to improve developer productivity. We are thus trying to improve the efficiency of your pipelines with our testing tools,” Gebregziabher said. “We make use of test metadata, so whatever testing tool you use, we take the results and then parse, process and display in an easy and understandable way. Before this, folks were doing that themselves.”

TRENDING STORIES
BC Gain is founder and principal analyst for ReveCom Media. His obsession with computers began when he hacked a Space Invaders console to play all day for 25 cents at the local video arcade in the early 1980s. He then...
Read more from B. Cameron Gain
SHARE THIS STORY
TRENDING STORIES
CircleCI is a sponsor of The New Stack.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.