supercov 0.0.14 → 0.0.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -25
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -100,29 +100,29 @@ CLI queries instead of loading the complete derived model into context.
|
|
|
100
100
|
```sh
|
|
101
101
|
# Orient using only a few lines.
|
|
102
102
|
npx supercov runs --limit 5
|
|
103
|
-
npx supercov runs latest
|
|
104
|
-
npx supercov runs latest
|
|
105
|
-
npx supercov runs latest
|
|
106
|
-
npx supercov runs latest
|
|
107
|
-
npx supercov runs latest
|
|
108
|
-
npx supercov runs latest
|
|
109
|
-
npx supercov runs latest
|
|
110
|
-
npx supercov runs latest
|
|
111
|
-
npx supercov runs latest
|
|
112
|
-
npx supercov runs latest
|
|
113
|
-
npx supercov runs latest
|
|
103
|
+
npx supercov runs latest
|
|
104
|
+
npx supercov runs latest --filter passed
|
|
105
|
+
npx supercov runs latest --filter failed
|
|
106
|
+
npx supercov runs latest kinds
|
|
107
|
+
npx supercov runs latest runners
|
|
108
|
+
npx supercov runs latest scope
|
|
109
|
+
npx supercov runs latest --kind e2e
|
|
110
|
+
npx supercov runs latest files
|
|
111
|
+
npx supercov runs latest gaps
|
|
112
|
+
npx supercov runs latest gaps --metric mcdc
|
|
113
|
+
npx supercov runs latest gaps --kind e2e
|
|
114
114
|
|
|
115
115
|
# Drill into one target selected from the gap list.
|
|
116
|
-
npx supercov runs latest
|
|
117
|
-
npx supercov runs latest
|
|
118
|
-
npx supercov runs latest
|
|
119
|
-
npx supercov runs latest
|
|
116
|
+
npx supercov runs latest file app/routes/example.ts
|
|
117
|
+
npx supercov runs latest file app/routes/example.ts --metric mcdc
|
|
118
|
+
npx supercov runs latest decision app/routes/example.ts:42
|
|
119
|
+
npx supercov runs latest line app/routes/example.ts:57
|
|
120
120
|
|
|
121
121
|
# Understand redundancy/contribution and validate a newly written test. Replace
|
|
122
122
|
# "latest" with the immutable run ID when an agent continues work later.
|
|
123
|
-
npx supercov runs latest
|
|
124
|
-
npx supercov runs latest
|
|
125
|
-
npx supercov runs latest
|
|
123
|
+
npx supercov runs latest test "test title fragment"
|
|
124
|
+
npx supercov runs latest minimize --filter passed
|
|
125
|
+
npx supercov runs latest minimize --filter passed --metric mcdc --target 80
|
|
126
126
|
npx supercov diff <older-run> <newer-run>
|
|
127
127
|
|
|
128
128
|
# Combine compatible shards without deleting their immutable source runs.
|
|
@@ -133,7 +133,7 @@ npx supercov merge <first-run-id> <second-run-id>
|
|
|
133
133
|
missing disposable query view from the run's immutable evidence before printing
|
|
134
134
|
that row; whether the view was already available is never exposed in the CLI.
|
|
135
135
|
`supercov runs <run-id>` prints the same summary as
|
|
136
|
-
`supercov runs <run-id
|
|
136
|
+
`supercov runs <run-id>`.
|
|
137
137
|
|
|
138
138
|
Coverage queries use `--filter all` by default, matching conventional coverage
|
|
139
139
|
tools: every executed attempt contributes, including attempts that later fail.
|
|
@@ -149,14 +149,14 @@ run. `latest` is a convenience selector for interactive use. Every query
|
|
|
149
149
|
accepts `--json` and—where the result can be long—`--limit` and `--offset`.
|
|
150
150
|
Every collection is paginated at 20 items by default and prints its range plus
|
|
151
151
|
a copyable next-page command; generated commands omit the default limit.
|
|
152
|
-
Agents targeting one coverage dimension can pass `--metric` to `
|
|
153
|
-
|
|
152
|
+
Agents targeting one coverage dimension can pass `--metric` to `files`, `gaps`,
|
|
153
|
+
or `file`; this ranks and narrows the existing
|
|
154
154
|
resource instead of requiring a separate MC/DC-specific command.
|
|
155
155
|
Measurement limitations use the same drill-down commands as ordinary gaps.
|
|
156
156
|
The coverage summary reports whether the measured denominator is complete,
|
|
157
|
-
`
|
|
158
|
-
|
|
159
|
-
|
|
157
|
+
`files` and `gaps` include per-file limitation counts and kinds, and `file
|
|
158
|
+
<path>` returns bounded gap lines with consolidated obligations and exact `line
|
|
159
|
+
<file:line>` drill-down commands. `scope` attaches the same counts to included,
|
|
160
160
|
excluded, and ambiguous source entries. A 100% metric with a blocking limitation
|
|
161
161
|
is therefore never reported as structurally complete.
|
|
162
162
|
The summary also exposes provider-neutral transport counters. If Supercov
|
|
@@ -207,7 +207,7 @@ For a JavaScript or TypeScript project, the CLI:
|
|
|
207
207
|
2. inventories first-party source from package entry points, workspaces,
|
|
208
208
|
conventional source directories, and TypeScript roots. Every candidate is
|
|
209
209
|
retained as included, excluded, or ambiguous; ambiguity blocks a complete
|
|
210
|
-
verdict and is inspectable with `
|
|
210
|
+
verdict and is inspectable with `scope`. Set
|
|
211
211
|
`SUPERCOV_SOURCE_ROOTS` for an explicit authoritative scope;
|
|
212
212
|
3. instruments through the existing Vite graph when available, or instruments
|
|
213
213
|
only the disposable source copy before the project's unchanged
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"description": "Zero-edit, runner-aware coverage completeness for JavaScript test suites",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
"prepublishOnly": "npm run release:check"
|
|
64
64
|
},
|
|
65
65
|
"optionalDependencies": {
|
|
66
|
-
"@supercov/cli-darwin-arm64": "0.0.
|
|
67
|
-
"@supercov/cli-darwin-x64": "0.0.
|
|
68
|
-
"@supercov/cli-linux-arm64-gnu": "0.0.
|
|
69
|
-
"@supercov/cli-linux-arm64-musl": "0.0.
|
|
70
|
-
"@supercov/cli-linux-x64-gnu": "0.0.
|
|
71
|
-
"@supercov/cli-linux-x64-musl": "0.0.
|
|
66
|
+
"@supercov/cli-darwin-arm64": "0.0.16",
|
|
67
|
+
"@supercov/cli-darwin-x64": "0.0.16",
|
|
68
|
+
"@supercov/cli-linux-arm64-gnu": "0.0.16",
|
|
69
|
+
"@supercov/cli-linux-arm64-musl": "0.0.16",
|
|
70
|
+
"@supercov/cli-linux-x64-gnu": "0.0.16",
|
|
71
|
+
"@supercov/cli-linux-x64-musl": "0.0.16"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"@playwright/test": ">=1.55.0",
|