Events

More tests are always better? How to use AI to identify tests that bring little value

Written by Fabian Streitel | Mar 17, 2026 8:42:09 am

As testers we know that having “more tests” isn’t automatically better. Tests have ongoing maintenance costs. Migrating a large test suite to a different technology or cleaning up legacy test suites is a time-consuming task. Plus: “more tests” also means slower feedback on new bugs, because the whole suite now takes longer to execute!

At the same time, our gut feeling tells us that not all tests are equally valuable. So many of us have asked themselves: can’t we throw away the least valuable tests, to save maintenance costs without sacrificing product quality?

In computer science research, this problem is called “test suite minimization”: removing tests from a test suite but at the same time preserving its overall bug-finding power as best as possible. In this talk, I will show “AI Test Clustering”, a novel approach that can identify test cases that provide little to no value. I will cover the theoretical fundamentals of this technique and show how we applied it to industry test suites. I will cover how we evaluated its effectiveness and made sure we don’t accidentally throw away important test cases. Finally, I will show several strategies for quickly “spring-cleaning” your own project with little risk.