supercov 0.0.17 → 0.0.18
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/agent-loop.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# Agent loop
|
|
2
2
|
|
|
3
|
-
Supercov
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
loop, the prompt, and the failure modes worth guarding against when nobody is
|
|
7
|
-
watching.
|
|
3
|
+
Use Supercov in a repeatable agent loop: run the suite, query uncovered
|
|
4
|
+
obligations, add a focused test, rerun, and compare results. This page covers
|
|
5
|
+
the loop, the recommended prompt, and failure handling.
|
|
8
6
|
|
|
9
7
|
## The shape of the loop
|
|
10
8
|
|
package/docs/coverage-model.md
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
# Coverage model
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
structure of the code obliges a suite to exercise, how much has been exercised,
|
|
7
|
-
and with what quality of evidence.
|
|
3
|
+
Supercov derives coverage obligations from code structure. It reports which
|
|
4
|
+
obligations ran and the quality of the available evidence, including line,
|
|
5
|
+
branch, value-path, control-flow, and MC/DC coverage.
|
|
8
6
|
|
|
9
7
|
## Obligations
|
|
10
8
|
|
package/docs/evidence.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
# Evidence and runs
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
demand, so a report can never quietly disagree with the evidence it claims to
|
|
6
|
-
summarise.
|
|
3
|
+
Each run stores one evidence artifact and its metadata. Reports, queries, and
|
|
4
|
+
comparisons are derived from those files on demand.
|
|
7
5
|
|
|
8
6
|
## What a run is
|
|
9
7
|
|
package/docs/getting-started.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Getting started
|
|
2
2
|
|
|
3
|
-
Supercov measures coverage
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
Supercov measures coverage for JavaScript, TypeScript, and Rust test suites.
|
|
4
|
+
Prefix the command you already run; no config file, import, or reporter is
|
|
5
|
+
required.
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
8
|
npx supercov -- npm test
|
package/docs/supported-suites.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# Supported suites
|
|
2
2
|
|
|
3
|
-
Supercov
|
|
4
|
-
|
|
5
|
-
coverage
|
|
6
|
-
query.
|
|
3
|
+
Supercov wraps a test command and instruments the processes it launches.
|
|
4
|
+
Runner support differs by attribution level: exact per-test attribution or
|
|
5
|
+
aggregate coverage.
|
|
7
6
|
|
|
8
7
|
## Attribution by runner
|
|
9
8
|
|
package/docs/verification.md
CHANGED
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
# Verification
|
|
2
2
|
|
|
3
|
-
Supercov
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
program behaves exactly like the original and that the coverage it reports is
|
|
7
|
-
arithmetically correct.
|
|
8
|
-
|
|
9
|
-
Seven independent gates block publication. A failure in any one of them stops
|
|
10
|
-
the trusted-publishing workflow.
|
|
3
|
+
Supercov instruments source before the test command runs. Seven release gates
|
|
4
|
+
check that the instrumented program matches the original program and that
|
|
5
|
+
coverage calculations are correct. Any failed gate blocks publication.
|
|
11
6
|
|
|
12
7
|
## 1. Semantic differential execution
|
|
13
8
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# Workspace isolation
|
|
2
2
|
|
|
3
|
-
Supercov
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
depend on a signal handler running.
|
|
3
|
+
Supercov writes generated and temporary files only under the project's
|
|
4
|
+
`.supercov/` directory. Application source and ordinary build artifacts are
|
|
5
|
+
not write targets, and cleanup does not depend on a signal handler.
|
|
7
6
|
|
|
8
7
|
## Owned paths
|
|
9
8
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.18",
|
|
4
4
|
"description": "Zero-edit, runner-aware coverage completeness for JavaScript test suites",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
"sync:rust-assets": "node scripts/sync-rust-package-assets.mjs",
|
|
38
38
|
"test:rust-assets": "node scripts/sync-rust-package-assets.mjs --check",
|
|
39
39
|
"test:rustc-backend-spike": "node scripts/rustc-backend-spike.mjs",
|
|
40
|
+
"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",
|
|
40
41
|
"test:rust-cargo-runner": "cargo build -p supercov && node scripts/rust-cargo-runner-integration.mjs",
|
|
41
42
|
"test:rust-nextest-runner": "cargo build -p supercov && node scripts/rust-nextest-runner-integration.mjs",
|
|
42
43
|
"test": "cargo test --workspace",
|
|
@@ -66,12 +67,12 @@
|
|
|
66
67
|
"prepublishOnly": "npm run release:check"
|
|
67
68
|
},
|
|
68
69
|
"optionalDependencies": {
|
|
69
|
-
"@supercov/cli-darwin-arm64": "0.0.
|
|
70
|
-
"@supercov/cli-darwin-x64": "0.0.
|
|
71
|
-
"@supercov/cli-linux-arm64-gnu": "0.0.
|
|
72
|
-
"@supercov/cli-linux-arm64-musl": "0.0.
|
|
73
|
-
"@supercov/cli-linux-x64-gnu": "0.0.
|
|
74
|
-
"@supercov/cli-linux-x64-musl": "0.0.
|
|
70
|
+
"@supercov/cli-darwin-arm64": "0.0.18",
|
|
71
|
+
"@supercov/cli-darwin-x64": "0.0.18",
|
|
72
|
+
"@supercov/cli-linux-arm64-gnu": "0.0.18",
|
|
73
|
+
"@supercov/cli-linux-arm64-musl": "0.0.18",
|
|
74
|
+
"@supercov/cli-linux-x64-gnu": "0.0.18",
|
|
75
|
+
"@supercov/cli-linux-x64-musl": "0.0.18"
|
|
75
76
|
},
|
|
76
77
|
"peerDependencies": {
|
|
77
78
|
"@playwright/test": ">=1.55.0",
|