Agent skill · operations · jeremylongshore

generating-test-reports

Generate comprehensive test reports with metrics, coverage, and visualizations.

Why this skill is useful

Generates detailed test reports with metrics and visualizations that the AI wouldn't reliably produce on its own.

What it needs

Requires node, python installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 2,604 stars on the source repository.

What this skill does

Test Report Generator Overview Generate structured, human-readable test reports from raw test runner output including JUnit XML, Jest JSON, pytest results, and coverage data. Produces Markdown summaries, HTML dashboards, and CI-compatible annotations. Prerequisites Test results in a parseable format (JUnit XML, Jest --json, pytest --junitxml, or TAP) Coverage data files (Istanbul coverage-summary.json, lcov.info, or coverage.xml) Node.js or Python available for report generation scripts Git history accessible for trend analysis across commits Instructions 1. Locate all test result files using Glob patterns (/junit.xml, /test-results.json, /coverage/lcov.info). 2. Parse each result file and extract: Total test count, passed, failed, skipped, and error counts. Execution duration per test suite and per individual test. Failure messages, stack traces, and assertion details. 3. Parse coverage data and extract: Line, branch, function, and statement coverage percentages. Per-file coverage breakdown identifying files below threshold. Uncovered line ranges for targeted improvement. 4. Compute aggregate metrics: Overall pass rate as a percentage. Total execution time and average test duration. Top 10 slowest tests with file paths and durations. Coverage delta compared to the previous commit (if git history is available). 5. Generate a Markdown report with sections for summary, failures, coverage, and performance. 6. Optionally generate an HTML report with sortable tables and coverage heatmaps. 7. Write CI-compatible output (GitHub Actions job summary, GitLab report artifacts, or Slack webhook payload). …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills jeremylongshore/generating-test-reports--0f5abb

View the source on GitHub

Browse the @skills marketplace