Topics
Recent articles

Product Engineering

How to Report SIT API Coverage When 50 Tests Pass

Report system integration test coverage by endpoint, planned scenario, and build so 50 passing tests do not hide gaps in API behavior.

Table of Contents9 sections
Pixel art test report contrasts 50 passing happy-path scenarios with zero exception scenarios run.
A passing case count says little about the cases that never ran.

A system integration testing (SIT) report says 50 API tests passed. Does that mean the integration is ready? A team can pass 50 happy-path cases concentrated on nine operations without exercising a single expected failure. The number is useful only when you can see what it covers.

Quick solution:

Report distinct API operations, positive and negative scenario execution, and outcomes as separate measures. Tie the counts to one release candidate and show what remains untested.

Candidate: RC-7 | Environment: SIT
Operations: 13 of 20 integrated; 9 of 20 exercised
Positive: 50 of 61 executed, all 50 passed
Negative: 0 of 16 executed
Next decision: check retry and duplicate submission before advancing

The numbers and API examples below are fictional. The same report structure works if your endpoint list is smaller and the risks are different.

Count operations, scenarios, and results separately

An operation is an HTTP method plus a normalized route, such as GET /shipments/{id}. GET and POST on the same path are different operations. Three test IDs fetching three different shipments might all exercise the same operation. A scenario is a named behavior with a setup, an action, and a result to verify. An outcome is the recorded result of executing that scenario on the candidate. These three units answer different questions.

Start with a versioned list of operations in release scope. Then choose a distinct inventory of planned scenario IDs with each one mapped to the operation or operations it is intended to verify. Count an end-to-end journey once in the scenario total even if it exercises several operations. Credit an operation only if that journey actually reaches the relevant boundary with an assertion, not merely because a request appears in a trace. A failure can still provide execution evidence for the boundary that was reached, but it does not prove that boundary works.

Agree on what “integrated” means before reporting it. In the example, the service and its intended counterpart are wired in the SIT environment and the route is available for execution. Configuration alone does not make it exercised. If you can only test against a local stub, label that as stub evidence and avoid merging it with the intended SIT environment result. A controlled dependency simulator may be appropriate for fault behavior; say which dependency was simulated and which interface the test really exercised.

Read the 50-pass snapshot against a plan

Suppose a parcel scheduling team has 20 planned operations for a release. Thirteen are wired in SIT. Nine have at least one case executed against their intended boundary on the reporting candidate, leaving four wired but unexercised and seven not yet integrated. The operation count is independent of how many tests were run on any given route.

Measure Result What it tells you
Operations integrated 13 of 20 (65%) Which part of the scope is available for SIT.
Operations exercised 9 of 20 (45%) Which part has some execution evidence on this candidate.
Positive scenarios executed 50 of 61 (about 82%) Planned normal behaviors that have been exercised.
Positive pass rate for executed cases 50 of 50 (100%) Outcomes for the normal behaviors that ran.
Negative scenarios executed 0 of 16 (0%) Planned exceptional behaviors still unverified.

“100% passed” describes the executed positive cases. It does not describe the 11 positive scenarios that did not run, the 16 negative ones that did not run, or the 11 operations with no SIT execution evidence. If you want to say nine of the 13 wired operations were exercised, label the narrower denominator. Using that fraction alone would hide the seven operations that aren’t wired.

For zero executed cases there is no pass rate to report. Report “not run” rather than 0% passed, which can be mistaken for every negative case failing. Similarly, an unintegrated operation is not necessarily a failing test. It describes why the evidence is not available and helps the team decide whether to fix wiring, run tests, or change scope.

Build a scenario matrix around interface behavior

Start with the contract, then add behaviors the contract alone does not describe. The OpenAPI Responses Object describes how to document expected responses for an operation and recommends covering successful responses and known errors. Use those documented responses as a prompt, not as a checklist that can prove the whole system. Some failures involve state or routing between services and cannot be inferred from one response schema.

For example, consider one fictional POST /shipments operation. Verify accepted input reaches the receiving service and creates the expected shipment record. Verify a missing required field produces the agreed validation response and leaves no shipment. Verify a repeated logical request behaves according to the agreed contract, without creating a second shipment when the original was already accepted. If that contract permits retry after a transient outage, decide what the caller and receiver should each show when request processing is uncertain.

Scenario ID Case Main assertion State assertion
SH-01 Valid request Success response matches contract Exactly one shipment exists.
SH-02 Required field missing Documented validation error No shipment is created.
SH-03 Repeat after uncertain result Behavior matches the retry contract No unintended duplicate is created.
SH-04 Dependency unavailable in SIT Documented failure is surfaced No misleading success is recorded.

A negative scenario passes when the system exhibits the expected failure behavior. That can mean returning an agreed error and preserving state, rather than raising an unexpected exception or returning a success with no work done. RFC 9110 specifies HTTP status semantics, but your contract determines which response to expect for a particular application flow. Do not assign a conflict or unavailable response in a report unless it is part of that agreement. Check business effects as well as the response status where a write or asynchronous handoff is involved.

Use risk to select gaps to close next

Not all uncovered scenarios matter equally. A missing text-field display check and an unverified duplicate-submission safeguard can each count as one test. They do not have the same consequence. Decide which examples are required for the release before running the suite so the pass percentage cannot redefine the decision afterward. Where a failure could cause an irreversible or expensive effect, a missed negative case often deserves earlier attention than another normal example.

For this example, start with three questions. Can a shipment be created more than once when a client retries? Can the client see success when the receiving service never records the shipment? Can the team tell which version of the service handled a failed integration? The first two are product behaviors to verify. The third is a condition for trusting that evidence. If an unrelated reporting endpoint is still unwired, it may matter less to the core flow, but defer it only through an explicit scope decision.

A small risk-based scenario list is more maintainable than multiplying every input by every possible error. Draw on the ISTQB Foundation Level syllabus for techniques such as grouping equivalent inputs and using combinations of conditions where decisions differ. Then choose scenarios that actually exercise the system boundary. Saving five payload variations is not useful coverage if they all fail before reaching the part of the integration you are trying to assess.

Keep the count tied to one release candidate

Record the candidate build, relevant counterpart version or revision when available, environment, scenario ID, expected behavior, actual result, and a link or identifier for evidence. You don’t need to share raw payloads in a broad status report. The reader needs enough context to find the authorized test record and decide whether it applies to the build they are about to promote. Note material configuration changes, especially if they determine which dependency the request actually reaches.

Define which run drives the current report before adding up results. A simple policy is to take the latest valid result for each planned scenario ID on the candidate and approved environment, while retaining earlier attempts. Rerunning six failing cases three times adds up to eighteen attempts but not eighteen covered scenarios. If a flaky case passes after a rerun, preserve the failure and mark the instability for investigation rather than letting the last row disguise the risk.

When the candidate changes, explicitly identify which earlier results require rerun or remain valid by an agreed impact review. Do not roll Friday’s successful result into a summary for Monday’s candidate without saying how it was carried forward. If the environment fails before the behavior can be exercised, mark the scenario blocked with the cause, not passed or product-failed. If a genuine product assertion fails, keep that outcome and separate it from environmental trouble. Those distinctions point to different owners and different next actions.

A single journey can leave mixed evidence. Suppose a test verifies that creating a shipment succeeds, then stops when a status lookup returns an unexpected response. Both operations were reached and checked, so both count as exercised. The journey itself is one failed scenario. If the creation assertion had failed first and the lookup never ran, only the create operation would count for that attempt. Preserve the distinction in the matrix so you can answer a follow-up without re-reading the entire test log.

If you carry forward approved evidence from an unchanged counterpart, distinguish it from newly executed evidence. A report can show both, but its “run on RC-7” count should include only runs that actually happened on RC-7. Otherwise a promotion reviewer cannot tell where the team accepted residual risk.

Publish a short update that can drive a decision

A status update does not need every row. Give the selected scope, the three counts that change decisions, the highest-risk missing evidence, and the next owner. Include a link to the underlying matrix where people can inspect which operations and scenarios are incomplete. If progress is slower than expected, explain whether the constraint is wiring, executable data, a dependency, or a failed assertion. “Need more testing” does not tell anyone what to unblock.

RC-7 | SIT | 20 operations in agreed scope
Integrated 13/20; exercised 9/20
Positive 50/61 executed, 50 passed; negative 0/16 executed
Gate: hold promotion until retry and unavailable-dependency cases pass
Next: integration owner provides a controllable fixture; QA reruns the two cases

This example is a proposed engineering update, not a universal promotion rule. Each team should choose its gates and decide whether any exceptions are permitted. If you defer a noncritical scenario, show the scope change, who accepted it, and when it returns to the plan. Do not silently remove a row just to improve a number. Do not call a later gate passed because an earlier testing gate has evidence. UAT acceptance criteria and release readiness evidence addresses a different question: whether the candidate meets agreed acceptance criteria.

Audit the matrix before sharing it

Have one person who did not assemble the report pick two sample rows. They should be able to start from an operation and locate the current candidate and its scenarios, then reverse the mapping from a test result to the operation it exercises. That quick check catches problems such as the same route counted under two aliases, the use of an outdated candidate, or an unstated assumption that a stub counts as a live boundary.

For a useful handoff, a reader needs to see the next action without reading all 50 passing rows. “50 passed, no exception scenarios exercised, retry coverage blocks promotion” is a stronger report than “100% green.” It makes the missing evidence visible while there is still time to get it.

Scale the report without changing its meaning

If several teams contribute, start with agreed keys for candidates, operations, and scenarios. Two squads may use different names for the same service boundary, or they may reuse a case ID in unrelated test suites. Key results by the owning suite and scenario ID, and agree who owns the mapping from operations to candidate scope. An aggregate is useful only when the same units are counted once.

Compare snapshots on the same basis. If a team adds five edge cases after discovering a new failure mode, the execution percentage can fall even though more tests passed. Report the scope change next to the trend. A report that makes a newly discovered gap easy to explain is more valuable than one that always trends upward.

You Might Also Like

View all articles
UAT Acceptance Criteria for Release Readiness
5 min read

UAT Acceptance Criteria for Release Readiness

Learn how to build a traceable release readiness framework by mapping acceptance criteria to test evidence, managing dependencies, and documenting deferral decisions.