Test Suite Optimization
Overview of Qualflare's AI-powered Insights feature — recommendations that flag flaky, low-value, and redundant test cases to keep suites lean and focused.
Test Suite Optimization
This feature (internally called Insights) is in Beta and gated behind a feature flag. It may not be available on your workspace yet, and behavior may change before general availability.
Qualflare's AI can analyze your test suite and surface Insights — recommendations that flag test cases worth revisiting, so suites stay lean and trustworthy as they grow instead of accumulating dead weight over time.
Recommendation Types
Each recommendation carries a confidence score and comes in one of three types:
- Flaky — the case has an inconsistent pass/fail history that looks like a flakiness problem rather than a real regression signal.
- Low Value — the case rarely catches anything (e.g. it hasn't failed in a way that indicated a real bug) and may not be worth the maintenance cost.
- Redundant — the case appears to duplicate coverage already provided by another case. Redundant recommendations additionally carry a similarity score and a pointer to the similar case, so you can compare before acting.
Recommendation Lifecycle
A recommendation starts active and moves to one of:
- Accepted — you agreed with the recommendation and took the suggested action (e.g. removed or merged the case).
- Declined — you reviewed it and chose to keep the case as-is.
- Stale — the underlying data changed enough that the recommendation no longer applies (e.g. the case's execution history shifted).
Insights never change or delete a test case automatically — every recommendation requires an explicit Accept or Decline from a user.
Where to Find Insights
Once enabled for your workspace, AI Insights appears in the project sidebar under the Analysis section, alongside Defects and Failure Clusters. Each recommendation in the list shows its type, confidence score, and a short reasoning summary; click a row to open the detail dialog with the full reasoning and, for Redundant recommendations, a side-by-side comparison with the similar case.
Workspace admins: this feature is controlled by the ai_test_suite_optimization flag. If you don't see AI Insights in your sidebar, it hasn't been enabled for your workspace yet.
See Also
- AI Features — overview of all AI capabilities in Qualflare
AI-Powered Filtering
Overview of Qualflare's AI filter mode on the Explore page — describe searches in plain English and Qualflare translates them into structured filters automatically.
Qualflare in Claude Code
Overview of the Qualflare plugin for Claude Code — generate tests, run your suite, and fix failures from inside the chat using the same 23 frameworks supported by the Qualflare CLI.