supercov 3.0.3 → 3.0.4
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/docs/assertions.md +6 -2
- package/package.json +9 -9
package/docs/assertions.md
CHANGED
|
@@ -101,7 +101,7 @@ npx supercov runs latest assertions --test "closes the stream" # what one test
|
|
|
101
101
|
```text
|
|
102
102
|
Run run_4f2a: 93.8% asserted (2731 of 2913 executed statements)
|
|
103
103
|
|
|
104
|
-
Files, most statements not asserted first: a statement is not asserted when none of the tests asked about it was judged to fail if it changed. Up to
|
|
104
|
+
Files, most statements not asserted first: a statement is not asserted when none of the tests asked about it was judged to fail if it changed. Up to 18 of the tests that run a statement are asked, so a test never asked can still catch it.
|
|
105
105
|
NOT ASSERTED ASSERTED FILE
|
|
106
106
|
41 388/429 src/adapters.ts
|
|
107
107
|
...
|
|
@@ -120,7 +120,11 @@ nothing the asked tests assert depends on what the statement does. Five of the
|
|
|
120
120
|
tests that run a statement are asked first, and up to 15 when none of those
|
|
121
121
|
catches it: tests whose file quotes text the statement writes (a log line, a
|
|
122
122
|
message), then tests named like the source file, then one per test file and
|
|
123
|
-
describe block.
|
|
123
|
+
describe block. When none of the 15 catches it, up to three more are asked, the
|
|
124
|
+
ones most likely written for the statement: tests whose name shares words with
|
|
125
|
+
the statement's line (`corsOrigin: a false value` for
|
|
126
|
+
`return corsOrigin(origin)`), and among those the tests that ran the least
|
|
127
|
+
other code. A statement many tests run can still be caught by one that was
|
|
124
128
|
never asked; the statement view (`assertions <file>:<line>`) says how many were.
|
|
125
129
|
|
|
126
130
|
## Which tests check a change
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.4",
|
|
4
4
|
"description": "Coverage, security and code quality for coding agents",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"coverage",
|
|
@@ -118,14 +118,14 @@
|
|
|
118
118
|
"test:windows-tls": "node scripts/windows-tls-test.mjs"
|
|
119
119
|
},
|
|
120
120
|
"optionalDependencies": {
|
|
121
|
-
"@supercov/cli-darwin-arm64": "3.0.
|
|
122
|
-
"@supercov/cli-darwin-x64": "3.0.
|
|
123
|
-
"@supercov/cli-linux-arm64-gnu": "3.0.
|
|
124
|
-
"@supercov/cli-linux-arm64-musl": "3.0.
|
|
125
|
-
"@supercov/cli-linux-x64-gnu": "3.0.
|
|
126
|
-
"@supercov/cli-linux-x64-musl": "3.0.
|
|
127
|
-
"@supercov/cli-win32-arm64": "3.0.
|
|
128
|
-
"@supercov/cli-win32-x64": "3.0.
|
|
121
|
+
"@supercov/cli-darwin-arm64": "3.0.4",
|
|
122
|
+
"@supercov/cli-darwin-x64": "3.0.4",
|
|
123
|
+
"@supercov/cli-linux-arm64-gnu": "3.0.4",
|
|
124
|
+
"@supercov/cli-linux-arm64-musl": "3.0.4",
|
|
125
|
+
"@supercov/cli-linux-x64-gnu": "3.0.4",
|
|
126
|
+
"@supercov/cli-linux-x64-musl": "3.0.4",
|
|
127
|
+
"@supercov/cli-win32-arm64": "3.0.4",
|
|
128
|
+
"@supercov/cli-win32-x64": "3.0.4"
|
|
129
129
|
},
|
|
130
130
|
"peerDependencies": {
|
|
131
131
|
"@playwright/test": ">=1.55.0",
|