/sdlc-documentation:03-test-reportfrom sdlc-documentation
Produces or updates evidence-backed test reports covering executed results, defects, coverage, deviations, residual risk, and release recommendations from approved project evidence.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source/provider | Required? | Behaviour when absent |
|---|---|---|---|
| Project _context/, approved requirements, and relevant architecture | Project owner and upstream phase skills | Required | Stop at a gap register; do not invent scope, thresholds, integrations, or owners. |
| Existing artefact, implementation, configuration, and evidence named below | Repository, delivery team, or service owner | Required when updating or assessing | Mark inaccessible items not assessed; do not treat them as passed. |
| Target audience, environment, risk tolerance, and authority | Requester and accountable owner | Required | Produce a read-only outline with explicit assumptions; do not mutate project or production state. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| Evidence-backed Test Report | Release owner and stakeholders | Every result links to execution evidence; failures and unassessed checks remain visible in the release recommendation. |
| Decision and gap register | Reviewer and downstream phase owner | Every assumption, rejected option, unresolved dependency, waiver, and owner is explicit. |
| Validation evidence | Release or governance reviewer | Checks identify command or method, date, result, evidence location, and all unassessed items. |
| Evidence | Minimum content | Acceptance |
|---|---|---|
| Traceability record | Source artefact, decision, output section, owner | No mandatory decision is source-free. |
| Quality-gate result | Check, expected result, observed result, evidence path | Failures and unavailable checks cannot appear as passes. |
| Review record | Reviewer, date, disposition, open actions | The consumer can reproduce the acceptance decision. |
If files, execution, network, rendering, environment access, fonts, or current evidence are unavailable, return the narrowest useful draft plus a gap register. Label affected checks not assessed, retain the intended acceptance oracle, and state who must supply or verify the missing evidence. Never convert an unavailable check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Evidence is complete and authority is explicit | Choose the verdict from observed evidence and approved exit criteria and produce the full artefact. | Reporting an unexecuted check as passed. |
| A required source or approval is missing | Stop the affected branch; record the gap, owner, and unblock condition. | Fabricated requirements or unauthorised action. |
| Evidence conflicts across sources | Preserve both claims, identify the controlling owner, and request a recorded decision. | Silent selection of a convenient but wrong source. |
| A check cannot run in the available environment | Keep its oracle and mark it not assessed; require later execution evidence. | False assurance from capability limits. |
not assessed, preserve the oracle, and name the verifier.Given an approved project source and a conflicting implementation detail, record both with provenance, stop the affected branch, and obtain the accountable owner's decision. Then update the relevant contract, define a reproducible acceptance check, and retain its observed result. The artefact is accepted only when every result links to execution evidence; failures and unassessed checks remain visible in the release recommendation.
This is the third and final skill in Phase 05 (Testing Documentation). It reads the test plan to produce a reusable test execution report template containing an executive summary, test execution log, defect log, coverage metrics, failed test analysis, and recommendations. The template includes structured placeholders for actual results to be filled during test execution. The output conforms to BS ISO/IEC/IEEE 29119-3 Sections 9-10 and references the deterministic gate checklist plus the incident/test completion templates.
Test_Plan.md exists in projects/<ProjectName>/<phase>/<document>/ with test cases and traceability matrix.| Attribute | Value |
|---|---|
| Inputs | projects/<ProjectName>/<phase>/<document>/Test_Plan.md |
| Output | projects/<ProjectName>/<phase>/<document>/Test_Report_Template.md |
| Tone | Structured, metrics-driven, stakeholder-facing |
| Standard | BS ISO/IEC/IEEE 29119-3 Sec 9-10 |
| File | Location | Required | Purpose |
|---|---|---|---|
| Test_Plan.md | projects/<ProjectName>/<phase>/<document>/Test_Plan.md | Yes | Test case inventory, traceability matrix, and schedule driving report structure |
| File | Location | Description |
|---|---|---|
| Test_Report_Template.md | projects/<ProjectName>/<phase>/<document>/Test_Report_Template.md | Reusable report template with placeholders for test execution results |
Follow these seven steps in order. Halt and notify the user if the required input file is missing.
Read Test_Plan.md from projects/<ProjectName>/<phase>/<document>/. Log the absolute path. If the file is missing, halt execution and report the gap. Extract the total test case count, test case groupings, and traceability matrix.
Create an executive summary section with placeholders for: total tests executed, tests passed, tests failed, tests blocked, tests skipped, overall pass rate (%), requirement coverage percentage, and a release readiness recommendation field. Include a summary dashboard table.
Create a test execution log table with columns: TC-ID, Test Case Name, Result (Pass/Fail/Blocked/Skipped), Execution Date, Tester, Defect Reference (if failed), and Notes. Pre-populate TC-IDs from Test_Plan.md with placeholder values for results.
Create a defect log table with columns: DEF-ID (auto-incrementing), Severity (Critical/Major/Minor/Trivial), Priority (P1-P4), Status (Open/In Progress/Resolved/Verified/Closed), Summary Description, Steps to Reproduce, Linked TC-ID, Assigned To, and Resolution Date. Include placeholder rows demonstrating the expected format.
Create a coverage metrics section with: Requirement Coverage (percentage of REQ-IDs with at least one executed test case), Feature Coverage (percentage of SRS Section 3.2 features tested), Code Coverage Targets (from Test_Strategy.md if available), and a coverage gap list referencing unexecuted or failed traceability entries.
Create a failed test analysis section with a template per failure: TC-ID, Failure Description, Root Cause Category (defect, environment, test data, requirement ambiguity), Impact Assessment, and Remediation Action. Create a recommendations section with fields for: release readiness decision (Go/No-Go/Conditional), outstanding risks, and required follow-up actions.
Before writing output, confirm the deterministic gate in ../references/29119-deterministic-checks.md is satisfied and that incident-report.md plus test-completion-report.md templates are referenced for use during execution reporting. Write the completed template to projects/<ProjectName>/<phase>/<document>/Test_Report_Template.md. Include a sign-off section with fields for: QA Lead (name, date, signature), Project Manager (name, date, signature), and stakeholder approval fields. Log the total number of template sections and placeholder test case entries.
The generated Test_Report_Template.md shall contain these sections in order: Document Header (project name, date, version, standards), 1. Executive Summary, 2. Test Execution Log, 3. Defect Log, 4. Coverage Metrics, 5. Failed Test Analysis, 6. Recommendations, 7. Sign-Off.
| Pitfall | Remedy |
|---|---|
| Executive summary without numeric placeholders | The summary shall include placeholder fields for all quantitative metrics |
| Defect log missing severity/priority columns | Every defect entry shall classify both severity and priority independently |
| Coverage metrics without gap identification | The coverage section shall list specific unexecuted or failed traceability entries |
| Missing sign-off fields | The template shall include named approval fields for QA Lead and Project Manager |
For each comparison give the observation window, time zone, machine label, revision in use, eligible tasks, accepted tasks and incomplete attempts. Identify repeated observations of the same commit or session on another PC. Record paired full-gate counts and queue time separately. A shorter test or fewer invocations can support a specific mechanism; a production throughput claim also needs comparable accepted work and elapsed time.
Record operator recollection of earlier usage limits as testimony. Only report incident counts or wait durations where the provider or runner events identify distinct episodes and their bounds.
Test_Report_Template.md exists in projects/<ProjectName>/<phase>/<document>/ with all seven sections populated.| Direction | Skill | Relationship |
|---|---|---|
| Upstream | 02-test-plan | Consumes test case inventory and traceability matrix for report structure |
| Upstream | 01-test-strategy | Inherits defect severity/priority taxonomy and metrics definitions |
| Downstream | Phase 09 (Governance) | Feeds completed test reports as audit evidence for compliance verification |
logic.prompt -- Executable prompt containing the step-by-step test report template generation logic.README.md -- Quick-start guide for this skill.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors./01-prd-generationUse when converting approved discovery evidence into a traceable PRD with objectives, prioritised features, success measures, constraints, and release scope; use vision-statement for the strategic north star and lean-canvas while assumptions still need testing./01-sprint-planningUse when preparing a sprint goal, evidence-based team capacity, selected backlog, task breakdown, and delivery risks. Use definition-of-ready to admit individual items and definition-of-done to judge completed increments./01-stakeholder-analysisUse when identifying and classifying stakeholders, influence, interests, decision rights, and communication needs before elicitation; use elicitation-toolkit to gather requirements from them.Other plugins' skills for the same job