supercov 0.0.40 → 0.0.42
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 +1 -1
- package/docs/supported-suites.md +4 -2
- package/docs/troubleshooting.md +13 -0
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -153,7 +153,7 @@ Supercov uses exact per-test attribution where an adapter is available. For othe
|
|
|
153
153
|
| Jest | Exact per test, including concurrent and parameterized tests |
|
|
154
154
|
| `node:test` | Exact per test |
|
|
155
155
|
| AVA and Mocha | Aggregate structural coverage |
|
|
156
|
-
| Cargo's standard libtest runner | Exact test and
|
|
156
|
+
| Cargo's standard libtest runner | Exact test, attempt, and passing-assertion identity |
|
|
157
157
|
| rustdoc doctests | Exact per doctest |
|
|
158
158
|
| cargo-nextest | Exact test, attempt, retry, and binary identity |
|
|
159
159
|
| RSpec | Exact example and before/example/after phase identity |
|
package/docs/supported-suites.md
CHANGED
|
@@ -109,7 +109,7 @@ whatever was still buffered.
|
|
|
109
109
|
|
|
110
110
|
| Runner | Attribution | Current requirement |
|
|
111
111
|
| --- | --- | --- |
|
|
112
|
-
| Cargo's standard libtest runner | Exact test and
|
|
112
|
+
| Cargo's standard libtest runner | Exact test, attempt, and passing-assertion identity | Rust 1.95; run with `npx supercov -- cargo test` |
|
|
113
113
|
| rustdoc doctests | Exact doctest identity; every doctest runs in a process of its own | Rust 1.95; part of `npx supercov -- cargo test` |
|
|
114
114
|
| cargo-nextest | Exact test, attempt, retry, and binary identity | cargo-nextest 0.9.138 or 0.9.140 |
|
|
115
115
|
|
|
@@ -125,7 +125,9 @@ literal `include!` calls; a `.rs` file nothing declares as a module, such as
|
|
|
125
125
|
one embedded with `include_str!`, is left untouched. Statements, functions,
|
|
126
126
|
`if`/`while`/match-guard decisions with their conditions (let chains
|
|
127
127
|
included), match arms, `&&` and `||`, `for` and `while` loops and the `?`
|
|
128
|
-
operator each take a probe;
|
|
128
|
+
operator each take a probe; what a thread recorded before it passed an
|
|
129
|
+
`assert!`, `assert_eq!` or `assert_ne!` is linked to that assertion, so the
|
|
130
|
+
report can separate code a test checked from code it merely ran; const contexts and macro expansions stay in the
|
|
129
131
|
denominator behind an explicit limitation. Use the repository's normal flags after the
|
|
130
132
|
wrapped command:
|
|
131
133
|
|
package/docs/troubleshooting.md
CHANGED
|
@@ -176,3 +176,16 @@ never looks complete. Since 0.0.29 the background and execution-trace writers al
|
|
|
176
176
|
clone sharing their file and move to a fresh one, so this should be rare; if it
|
|
177
177
|
persists, check whether something outside Supercov appends to
|
|
178
178
|
`.supercov/…/server/background/`.
|
|
179
|
+
|
|
180
|
+
## "Complete ... — N declared boundary(ies)"
|
|
181
|
+
|
|
182
|
+
A limitation is either blocking or declared. A blocking one means Supercov
|
|
183
|
+
could not measure something inside the denominator it claims — corrupt
|
|
184
|
+
evidence, a transport that never reported — and the run reads as
|
|
185
|
+
"Incomplete". A declared one marks a boundary of the denominator itself: a
|
|
186
|
+
Rust macro the compiler expands, a `const fn` body no runtime probe can
|
|
187
|
+
enter, a proc-macro crate whose code runs inside the compiler. Nothing inside
|
|
188
|
+
the measured denominator went unmeasured, so the run reads as complete within
|
|
189
|
+
those boundaries, and each boundary is reported at the line it covers with a
|
|
190
|
+
reason. `runs <run> file <path>` lists them per file; the `measurement`
|
|
191
|
+
object in `--json` output counts them under `declared`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
4
4
|
"description": "Zero-edit, runner-aware coverage completeness for JavaScript, TypeScript, Rust, Python, and Ruby test suites",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"test:rust-public-cargo": "cargo build -p supercov && node scripts/rust-public-cargo-integration.mjs"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@supercov/cli-darwin-arm64": "0.0.
|
|
78
|
-
"@supercov/cli-darwin-x64": "0.0.
|
|
79
|
-
"@supercov/cli-linux-arm64-gnu": "0.0.
|
|
80
|
-
"@supercov/cli-linux-arm64-musl": "0.0.
|
|
81
|
-
"@supercov/cli-linux-x64-gnu": "0.0.
|
|
82
|
-
"@supercov/cli-linux-x64-musl": "0.0.
|
|
83
|
-
"@supercov/cli-win32-arm64": "0.0.
|
|
84
|
-
"@supercov/cli-win32-x64": "0.0.
|
|
77
|
+
"@supercov/cli-darwin-arm64": "0.0.42",
|
|
78
|
+
"@supercov/cli-darwin-x64": "0.0.42",
|
|
79
|
+
"@supercov/cli-linux-arm64-gnu": "0.0.42",
|
|
80
|
+
"@supercov/cli-linux-arm64-musl": "0.0.42",
|
|
81
|
+
"@supercov/cli-linux-x64-gnu": "0.0.42",
|
|
82
|
+
"@supercov/cli-linux-x64-musl": "0.0.42",
|
|
83
|
+
"@supercov/cli-win32-arm64": "0.0.42",
|
|
84
|
+
"@supercov/cli-win32-x64": "0.0.42"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@playwright/test": ">=1.55.0",
|