Repository Cleanup finds test cases that repeat each other inside one project and helps you clean them up. Qase groups the likely duplicates; for each group you keep one case and delete the others, or mark them as not duplicates.
Duplicate analysis is the first tool in Repository Cleanup. It uses AI to compare the meaning of test cases, not only their titles, so it also catches cases that are worded differently but test the same thing.
Before you start
What | Why |
A paid plan | Repository Cleanup is not available on the Free plan |
AI features turned on for the workspace | The analysis runs on an AI model. If AI features are off, the scan does not start. See Disabling AI features |
Permission to edit and delete test cases in the project | Cleaning up deletes cases, so both rights are needed. Without them, Repo Cleanup does not appear in the project menu |
Enough AI credits for the scan | A scan costs 1 AI credit for every 1,000 test cases it analyses. See What a scan costs below |
Starting a scan
You can scan the whole project or only the test cases you pick.
To scan the whole project, go to the Repository, open the ⋯ menu next to + Manual test, and click Find duplicates. You can also click Repo Cleanup in the left menu, under Repository, and click Scan on the Repository Cleanup page.
To scan selected test cases, go to the Repository, tick at least two test cases, and click Find duplicates among the actions for the selected cases.
Qase confirms with Scan started. We'll notify you when it's done. The scan runs in the background, so you can keep working or leave the page. While it runs, the repository header shows Scanning the Repository, and you cannot start a second scan in the same project.
How long it takes depends on how many test cases are analysed and whether the project has been scanned before. The largest repositories can take 30–40 minutes.
When the scan finishes, the person who started it sees a card at the top of the repository:
Duplicate test cases found, with the number found. Click Review to open the results.
No duplicates found, with the number of test cases checked.
Duplicate scan failed, if the scan could not finish. Open Repo Cleanup and start it again.
Click Skip to close the card. The results stay on the Repo Cleanup page.
Reviewing the results
The Duplicate tests tab lists the groups of likely duplicates. Each row shows a test case with its suite, how many defects, test plans and requirements it is linked to, and when it last ran. Click a row to open the case and compare it with the others.
In every group, one case carries the Suggested tag. It is the case Qase suggests you keep: the one that ran most recently, or the newest one if none of them has run.
For every case in a group except the one you want to keep, choose an action:
Delete removes the case from the repository.
Not a duplicate keeps the case and leaves it out of this group.
Then click Apply. The case left without an action is the one you keep, and it is marked Primary.
If any case is set to Delete, Qase asks you to confirm first. Type CONFIRM and click Delete. The confirmation also warns you if the case is in a test run that is still in progress.
The page shows when the project was last scanned. To scan it again, for example after you have added more cases, click Rescan.
Undoing a cleanup
After you apply a group, an Undo button appears under it. Click it to bring back the cases you deleted from that group.
Deleted cases go to the Trash Bin, and Undo restores them from there. Their links to test plans, defects and requirements are not restored, so check those before you delete a case that is still referenced.
What a scan costs
A scan costs 1 AI credit for every 1,000 test cases analysed, rounded up to the next 1,000. Scanning 2,500 cases costs 3 credits. Scanning 400 cases costs 1 credit.
You are charged only when a scan finishes. A scan that fails costs nothing.
Qase checks your balance for the full price before the scan starts. If you do not have enough credits, the scan does not start and you see the Not enough AI credits message.
Credits come from your workspace's monthly AI allowance. See AI Credits Pricing: Explained.
FAQ
Does the scan change anything in my project? No. A scan only finds and groups likely duplicates. Nothing is deleted until you choose Delete and click Apply.
Can I scan more than one project at once? No. A scan covers one project. Scan each project separately.
Is there a limit on how many test cases one scan can analyse? Yes. One scan can analyse up to 200,000 test cases.
Why don't I see Repo Cleanup in the project menu? Your workspace is on the Free plan, AI features are turned off, or your role cannot edit and delete test cases. Ask a workspace owner or administrator to check.
I clicked Find duplicates and got a message about AI features. AI features are turned off for your workspace. An owner or administrator can turn them on in the workspace settings.





