What is test coverage?
Test coverage measures how much of something — requirements, risks, code branches, input partitions — the tests exercise. Requirements coverage answers "is every acceptance criterion tested?", while code coverage answers "which lines ran?"; a high percentage of the second says nothing about whether the assertions were meaningful, so coverage is a map of gaps, not a score to maximise.
How to use AI Test Coverage Analyzer
- Paste the requirements or user story in the first box and the existing test cases in the second.
- Pick the output language and press Analyze.
- Review the traceability matrix: each requirement is marked full, partial or none, with the tests that cover it and what remains untested.
- Add the missing tests to your suite (the AI Test Case Generator can write them) and retire the redundant ones; download the report as CSV, Markdown or JSON.
(1 + 1 + 0) ÷ 3 = 67%, and the untested R-3 gets the missing test MT-1.| Rule | TC-001delete succeeds | TC-002referenced value error | Coverage |
|---|---|---|---|
R-1Admin deletes an unreferenced value | ✓ | ✓ | Fullcounts 1 |
R-2Referenced values are blocked | ✓ | ✓ | Fullcounts 1 |
R-3Only Admins may delete | not covered by this test | not covered by this test | Nonecounts 0 · gap → MT-1 |
- Full = 1: positive path and main negative or boundary cases tested
- Partial = 0.5: only the happy path is tested (none in this example)
- None = 0: no test, so a missing test is proposed
MT-1Non-adminDELETEreturns403(for R-3; P0, security)
The tests that cover each rule in the example, one column per test. A test written for a neighbouring rule counts when it exercises that condition: refusing to delete a referenced value (TC-002) is R-1’s negative case.
AI Test Coverage Analyzer features
- Requirement-to-test traceability matrix with full/partial/none coverage
- Overall coverage percentage and risk per requirement
- Prioritised list of missing tests
- Flags redundant tests that map to no requirement
AI Test Coverage Analyzer example
Coverage
Input:
R: Admin deletes unreferenced value; referenced values blocked; only Admins.
T: TC-001 delete succeeds; TC-002 referenced value errorOutput:
R-1 full (TC-001 + TC-002) · R-2 full (TC-002 + TC-001) · R-3 none
Coverage (1 + 1 + 0) ÷ 3 = 67% → MT-1 Non-admin DELETE returns 403 (R-3, P0, security)Frequently asked questions about AI Test Coverage Analyzer
How is the coverage percentage computed?
Full coverage counts 1, partial counts 0.5 and none counts 0; the sum is divided by the number of requirements.
Why is a tested requirement marked partial?
Because full means both the positive path and its main negative or boundary conditions are tested. A requirement with only a happy-path test stays partial until its error and limit cases are covered too. A test written for a neighbouring rule counts when it exercises that condition: refusing to delete a referenced value is the negative case of deleting an unreferenced one.
Which tests are flagged as redundant?
Tests that map to no requirement, or that duplicate another test — candidates to remove so the suite stays fast and trusted.
Technical notes
Requirements are split into atomic rules (R-1, R-2 …), including rules implied by acceptance criteria. A rule counts as full only when its positive path and its main negative or boundary conditions are tested. Missing tests (MT-1, MT-2 …) name the requirement they close, with a type and a priority; redundant tests are those that map to no requirement or duplicate another.
References
- ISTQB GlossaryThe standard definitions of testing terms — test case, regression testing, severity, priority, boundary value analysis and the rest.
- ISO/IEC/IEEE 29119-1:2022 — Software and systems engineering — Software testing — Part 1: General conceptsThe international software-testing standard: concepts, processes, documentation and techniques.