supercov 1.1.0 → 1.1.1
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 +4 -0
- package/docs/cli.md +1 -1
- package/docs/performance.md +2 -2
- package/docs/troubleshooting.md +14 -0
- package/package.json +13 -11
package/README.md
CHANGED
package/docs/cli.md
CHANGED
|
@@ -410,7 +410,7 @@ terminal or offline environment after the package has been downloaded.
|
|
|
410
410
|
|
|
411
411
|
| Variable | Use |
|
|
412
412
|
| --- | --- |
|
|
413
|
-
| `SUPERCOV_SOURCE_ROOTS` |
|
|
413
|
+
| `SUPERCOV_SOURCE_ROOTS` | Comma-separated directories or files that hold your own code, in any language; everything else is left out |
|
|
414
414
|
| `SUPERCOV_TEST_KIND` | Label the wrapped command as a test level such as `unit` or `e2e` |
|
|
415
415
|
|
|
416
416
|
Examples:
|
package/docs/performance.md
CHANGED
|
@@ -95,6 +95,6 @@ flow, `--view nodes` or `--view edges` pages the details; `--compact` omits repe
|
|
|
95
95
|
source text while keeping locations and credit reasons. See
|
|
96
96
|
[Investigating assertion evidence](assertion-evidence.md#read-a-large-flow).
|
|
97
97
|
|
|
98
|
-
The disposable `assertions.report.cache.json`
|
|
99
|
-
or damaged cache is rebuilt. Removing it affects the next query's speed, not
|
|
98
|
+
The disposable `assertions.report.cache.json` and `assertions.summary.cache.json`
|
|
99
|
+
files live beside the map. A missing or damaged cache is rebuilt. Removing it affects the next query's speed, not
|
|
100
100
|
your saved explanations.
|
package/docs/troubleshooting.md
CHANGED
|
@@ -41,6 +41,20 @@ npx supercov runs latest scope
|
|
|
41
41
|
Do not broaden the roots to dependencies or generated output merely to remove a
|
|
42
42
|
warning. The goal is an honest boundary around code the repository owns.
|
|
43
43
|
|
|
44
|
+
## Too much is measured
|
|
45
|
+
|
|
46
|
+
Vendored or generated code beside your own is measured like the rest of the
|
|
47
|
+
repository. Name the directories or files that hold your own code; this works
|
|
48
|
+
for every language:
|
|
49
|
+
|
|
50
|
+
```sh supercov
|
|
51
|
+
SUPERCOV_SOURCE_ROOTS=src npx supercov -- pytest
|
|
52
|
+
SUPERCOV_SOURCE_ROOTS=app.py,core.py npx supercov -- python -m unittest
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Everything outside the roots is left out, and `npx supercov runs latest scope`
|
|
56
|
+
lists what was.
|
|
57
|
+
|
|
44
58
|
## The tests pass but coverage is missing
|
|
45
59
|
|
|
46
60
|
First check runner and source scope:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Code quality and coverage for coding agents",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -56,6 +56,7 @@
|
|
|
56
56
|
"test:rust-compiler-spikes": "cargo build -p supercov && node scripts/rust-libtest-companion-spike.mjs && node scripts/rust-async-attribution-spike.mjs && node scripts/rust-subprocess-attribution-spike.mjs && node scripts/rust-custom-harness-spike.mjs && node scripts/rust-libtest-builder-lifecycle-spike.mjs",
|
|
57
57
|
"test": "cargo test --workspace",
|
|
58
58
|
"test:react": "cargo build -p supercov && node scripts/rust-vitest-projects-integration.mjs && npm --prefix examples/react-verification ci && npm --prefix examples/react-verification run demo && node scripts/react-hydration-compatibility.mjs",
|
|
59
|
+
"test:release-tooling": "node --test tests/release/*.test.mjs",
|
|
59
60
|
"test:runtime": "node --test tests/runtime/*.test.mjs",
|
|
60
61
|
"test:fixture": "cargo build -p supercov && node scripts/rust-fixture-matrix.mjs",
|
|
61
62
|
"test:packed-npx": "cargo build --release -p supercov && node scripts/packed-npx-integration.mjs",
|
|
@@ -64,7 +65,8 @@
|
|
|
64
65
|
"test:watchdog": "cargo build -p supercov && node scripts/watchdog-integration.mjs",
|
|
65
66
|
"test:engine-contract": "cargo build -p supercov && node scripts/engine-contract.mjs",
|
|
66
67
|
"test:agent": "cargo build -p supercov && node scripts/agent-query-eval.mjs",
|
|
67
|
-
"test:engine": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace &&
|
|
68
|
+
"test:engine": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace && npm run test:runtime && npm run test:rust-assets && npm run test:engine-integrations",
|
|
69
|
+
"test:engine-integrations": "cargo build -p supercov && node scripts/rust-process-supervision.mjs && node scripts/rust-direct-node-integration.mjs && node scripts/rust-public-run-integration.mjs && node scripts/rust-embedded-runtime-integration.mjs && node scripts/rust-direct-vitest-integration.mjs && node scripts/rust-direct-jest-integration.mjs && node scripts/rust-direct-playwright-integration.mjs && node scripts/rust-custom-browser-playwright-integration.mjs && node scripts/rust-generic-esbuild-integration.mjs && node scripts/rust-generic-tsc-integration.mjs && node scripts/rust-generic-build-matrix.mjs && node scripts/rust-vite-playwright-integration.mjs",
|
|
68
70
|
"test:platform": "cargo test --workspace && cargo build -p supercov && node scripts/rust-process-supervision.mjs && node scripts/workspace-crash-integration.mjs",
|
|
69
71
|
"test:native-package": "cargo build --release -p supercov && node scripts/native-package-integration.mjs && node scripts/native-release-set-integration.mjs",
|
|
70
72
|
"test:pypi-wheel": "node scripts/pypi-wheel-integration.mjs",
|
|
@@ -77,7 +79,7 @@
|
|
|
77
79
|
"test:test262": "cargo build --release -p supercov && node scripts/test262-equivalence.mjs",
|
|
78
80
|
"benchmark:check": "cargo build --release -p supercov && node scripts/rust-transform-benchmark.mjs",
|
|
79
81
|
"benchmark:python-monitoring": "cargo build -p supercov && node scripts/python-monitoring-benchmark.mjs",
|
|
80
|
-
"check": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && npm run test && npm run test:runtime && npm run test:rust-assets && npm run test:assertion-maps && npm run test:sweep-target && npm run test:skip-guard && npm run test:windows-tls && node scripts/package-preflight.mjs && node scripts/verify-binstall-metadata.mjs --offline",
|
|
82
|
+
"check": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && npm run test && npm run test:release-tooling && npm run test:runtime && npm run test:rust-assets && npm run test:assertion-maps && npm run test:sweep-target && npm run test:skip-guard && npm run test:windows-tls && node scripts/package-preflight.mjs && node scripts/verify-binstall-metadata.mjs --offline",
|
|
81
83
|
"release:check": "cargo clean && node scripts/sweep-target.mjs && npm run check && npm run test:engine && npm run test:go && npm run test:jvm && npm run test:launcher && npm run test:fixture && npm run test:watchdog && npm run test:engine-contract && npm run test:agent && npm run test:child-attribution && npm run test:host-loader && npm run test:python-monitoring && npm run test:ruby-coverage && npm run test:rust-public-cargo && npm run test:packed-npx && npm run test:clang-mcdc && npm run benchmark:check",
|
|
82
84
|
"release:bump": "node scripts/bump-version.mjs",
|
|
83
85
|
"sweep": "node scripts/sweep-target.mjs",
|
|
@@ -103,14 +105,14 @@
|
|
|
103
105
|
"test:windows-tls": "node scripts/windows-tls-test.mjs"
|
|
104
106
|
},
|
|
105
107
|
"optionalDependencies": {
|
|
106
|
-
"@supercov/cli-darwin-arm64": "1.1.
|
|
107
|
-
"@supercov/cli-darwin-x64": "1.1.
|
|
108
|
-
"@supercov/cli-linux-arm64-gnu": "1.1.
|
|
109
|
-
"@supercov/cli-linux-arm64-musl": "1.1.
|
|
110
|
-
"@supercov/cli-linux-x64-gnu": "1.1.
|
|
111
|
-
"@supercov/cli-linux-x64-musl": "1.1.
|
|
112
|
-
"@supercov/cli-win32-arm64": "1.1.
|
|
113
|
-
"@supercov/cli-win32-x64": "1.1.
|
|
108
|
+
"@supercov/cli-darwin-arm64": "1.1.1",
|
|
109
|
+
"@supercov/cli-darwin-x64": "1.1.1",
|
|
110
|
+
"@supercov/cli-linux-arm64-gnu": "1.1.1",
|
|
111
|
+
"@supercov/cli-linux-arm64-musl": "1.1.1",
|
|
112
|
+
"@supercov/cli-linux-x64-gnu": "1.1.1",
|
|
113
|
+
"@supercov/cli-linux-x64-musl": "1.1.1",
|
|
114
|
+
"@supercov/cli-win32-arm64": "1.1.1",
|
|
115
|
+
"@supercov/cli-win32-x64": "1.1.1"
|
|
114
116
|
},
|
|
115
117
|
"peerDependencies": {
|
|
116
118
|
"@playwright/test": ">=1.55.0",
|