# Smart test selection: from a requirement to the smallest useful suite

Dokimore documentation · Intelligence · Updated 2026-11-10 · 7 min read

Written for: QA leads and test managers, Developers who own their tests, Product owners · Where it applies: every market

> Upload or paste a requirements document and the platform generates test scenarios from it, scores each one by risk, then picks the smallest set of scenarios that covers the most of your requirement within a time budget. Every scenario carries a written "why this test" rationale, and re-uploading a changed document shows exactly which scenarios are new. The selection is computed, not guessed, and you can always run everything.

## What it actually does, in plain terms

This is not a code-diff test runner. It does not read your git history and map changed files to tests. It works from your requirements: you give it a requirements or business document, and it produces the test scenarios that document implies, a coverage matrix over the features and test types it found, and a computed confidence for each scenario. From there it helps you decide which scenarios are worth running now.

## The smallest suite that still covers the requirement

Given the generated scenarios and a time budget, the platform runs a set-cover selection: it repeatedly picks the scenario that adds the most new coverage per unit of time until the budget is spent. This is a greedy algorithm with a known optimality bound, so the result is a defensible minimal suite, not an arbitrary shortlist. You get back the chosen scenarios, what each one covers, and what was left out.

## Why this test

Every scenario can be explained. The "why this test" view shows the risk factors behind it, an estimate of how many mutations it would catch, the confidence score, where it sits on the L1 to L5 test ladder, and a one-line human summary. Suite quality itself is scored by mutation kill rate against a target, so "is this suite any good" has a number, not an opinion.

## What changed since last time

Re-upload a revised requirements document and the platform diffs it against the last stored version of the same document, at the model level: which requirement nodes were added, removed or changed. Only the delta needs new scenarios, so a requirement edit does not force you to regenerate everything. This is a document-revision diff, not a source-code diff.

## Where the AI fits, and where it does not

Scenario generation and scoring are deterministic by default. An optional local model can enrich them, and it runs on the platform, so nothing is sent to an external AI provider unless your team buys and switches on Work with AI for requirement analysis. When the local model is unavailable, the endpoints return the deterministic result rather than a fabricated one. Smart test selection is part of the AI tools bundle, so access is decided by your plan.

## What we do not claim

There is no source-code impact analysis today: the platform does not key a run to a commit and select the tests that commit can break. If that is what you need, say so on a demo call and we will tell you plainly whether and when it is planned, rather than imply it exists. We also publish no pipeline-time reduction figure, because it depends entirely on your suite; measure it on yours.

## Questions people ask about this

### Does it pick tests from a git commit?

No. It works from a requirements document, not from source changes. The "what changed" view diffs a re-uploaded document against its previous version, not a code diff.

### Is the AI required?

No. Generation and scoring are deterministic; a local model can enrich them and degrades gracefully to the deterministic output when it is off or busy. No external AI provider is called unless your team buys and switches on Work with AI for requirement analysis.

### Can it choose the tests for a pull request?

Indirectly. Give it the requirement the pull request implements, as a document or pasted text, and it returns the smallest scenario set that covers it within your time budget, with a written reason per pick. It does not read the pull request itself: there is no source-code impact analysis, no webhook from GitHub or GitLab and no CI trigger yet, so the selection runs in the platform and your pipeline runs the exported tests.

This guide is about the test recorder, where smart test selection lives: https://dokimore.com/product/test-recorder

Source: https://dokimore.com/documentation/smart-test-selection
