From 2c634821ca9e7d58c22278779e0bda3bf363882a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Sep 2025 17:35:51 +0000 Subject: [PATCH 1/3] Initial plan From cd1257a1c9bbb3a0441783022072b0986b433885 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Sep 2025 17:39:06 +0000 Subject: [PATCH 2/3] Initial assessment: Understanding current codebase structure Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com> --- auto-detect-newman.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto-detect-newman.html b/auto-detect-newman.html index 027381d..48e7c55 100644 --- a/auto-detect-newman.html +++ b/auto-detect-newman.html @@ -364,7 +364,7 @@
Timestamp: 9/15/2025, 4:45:45 PM
+Timestamp: 9/16/2025, 5:37:53 PM
API Spec: Test API
Postman Collection: Test Newman Collection
From 194464c03a2533d4a430d949ef8d56dfe5542bff Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 16 Sep 2025 17:48:30 +0000 Subject: [PATCH 3/3] Add coverage heatmap feature with --heatmap CLI flag Co-authored-by: dreamquality <130073078+dreamquality@users.noreply.github.com> --- auto-detect-newman.html | 2 +- cli.js | 43 ++-- lib/report.js | 512 ++++++++++++++++++++++++++++++++++++++- test/heatmap-cli.test.js | 113 +++++++++ test/heatmap.test.js | 178 ++++++++++++++ 5 files changed, 830 insertions(+), 18 deletions(-) create mode 100644 test/heatmap-cli.test.js create mode 100644 test/heatmap.test.js diff --git a/auto-detect-newman.html b/auto-detect-newman.html index 48e7c55..3619bd9 100644 --- a/auto-detect-newman.html +++ b/auto-detect-newman.html @@ -364,7 +364,7 @@Timestamp: 9/16/2025, 5:37:53 PM
+Timestamp: 9/16/2025, 5:47:53 PM
API Spec: Test API
Postman Collection: Test Newman Collection
diff --git a/cli.js b/cli.js index c7379d7..e12b457 100644 --- a/cli.js +++ b/cli.js @@ -9,7 +9,7 @@ const { loadAndParseSpec, extractOperationsFromSpec } = require("./lib/swagger") const { loadPostmanCollection, extractRequestsFromPostman } = require("./lib/postman"); const { loadNewmanReport, extractRequestsFromNewman } = require("./lib/newman"); const { matchOperationsDetailed } = require("./lib/match"); -const { generateHtmlReport } = require("./lib/report"); +const { generateHtmlReport, generateHeatmapReport } = require("./lib/report"); const { loadExcelSpec } = require("./lib/excel"); const program = new Command(); @@ -27,9 +27,10 @@ program .option("--strict-body", "Enable strict validation of requestBody (JSON)") .option("--output