supercov 0.0.36 → 0.0.38
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 +15 -2
- package/docs/getting-started.md +10 -7
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -102,6 +102,19 @@ From lines and branches to MC/DC, every gap becomes a concrete test target. Supe
|
|
|
102
102
|
|
|
103
103
|
The denominator comes from source structure before the run, so adding or removing tests cannot silently change what 100% means. Ambiguous source scope, uninstrumented code, and missing evidence remain visible as completeness blockers.
|
|
104
104
|
|
|
105
|
+
## Install for your language
|
|
106
|
+
|
|
107
|
+
The same binary ships through each language's own package manager, at the same version, from one release:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
npx supercov -- npm test # npm
|
|
111
|
+
uvx --from supercov-cli supercov -- pytest # PyPI
|
|
112
|
+
gem install supercov && supercov -- bundle exec rspec # RubyGems
|
|
113
|
+
cargo install supercov && supercov -- cargo test # crates.io, built from source
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
`pip install supercov-cli` and `gem install supercov` install a wheel or gem that carries the binary for your platform; nothing is compiled. The crate builds from source and needs Rust 1.95.
|
|
117
|
+
|
|
105
118
|
## Supported languages
|
|
106
119
|
|
|
107
120
|
| Language | Status | Start with |
|
|
@@ -124,10 +137,10 @@ The CLI is a single native binary. `npx supercov` selects the build for the mach
|
|
|
124
137
|
| Operating system | Architectures | Notes |
|
|
125
138
|
| --- | --- | --- |
|
|
126
139
|
| macOS | arm64 (Apple silicon), x64 (Intel) | macOS 11 or newer |
|
|
127
|
-
| Linux | arm64, x64 | glibc and musl (Alpine)
|
|
140
|
+
| Linux | arm64, x64 | glibc 2.28 or newer (Debian 10, Ubuntu 18.10, RHEL 8 and later), or musl (Alpine); chosen automatically |
|
|
128
141
|
| Windows | arm64, x64 | Windows 10 or newer |
|
|
129
142
|
|
|
130
|
-
On Windows, JavaScript and TypeScript suites are verified on every release; Python, Ruby, and Rust suites are not yet verified there. Containers, VMs, and remote executors run the same Linux builds.
|
|
143
|
+
On Windows, JavaScript and TypeScript suites are verified on every release; Python, Ruby, and Rust suites are not yet verified there. Containers, VMs, and remote executors run the same Linux builds. Every release publishes the same binaries to npm, PyPI (`supercov-cli`, a wheel per platform) and RubyGems (`supercov`, a gem per platform except arm64 Windows, which Ruby has no platform for), and the source to crates.io (`supercov`).
|
|
131
144
|
|
|
132
145
|
## Supported test suites
|
|
133
146
|
|
package/docs/getting-started.md
CHANGED
|
@@ -15,19 +15,22 @@ Supercov supports JavaScript, TypeScript, Rust, Python, and Ruby today.
|
|
|
15
15
|
|
|
16
16
|
You need:
|
|
17
17
|
|
|
18
|
-
- macOS (arm64 or x64), Linux (arm64 or x64, glibc or musl), or
|
|
19
|
-
or x64; JavaScript and TypeScript suites are verified there
|
|
18
|
+
- macOS (arm64 or x64), Linux (arm64 or x64, glibc 2.28 or newer or musl), or
|
|
19
|
+
Windows (arm64 or x64; JavaScript and TypeScript suites are verified there
|
|
20
|
+
today);
|
|
20
21
|
- Node.js 22 or newer;
|
|
21
22
|
- a test command that already works in the repository; and
|
|
22
23
|
- for Rust, the Rust 1.95 toolchain;
|
|
23
24
|
- for Python, CPython 3.12 or newer with pytest or unittest;
|
|
24
25
|
- for Ruby, Ruby 3.4 or newer with RSpec, Minitest, test-unit or Cucumber (3.3 measures lines, methods and simple branches only).
|
|
25
26
|
|
|
26
|
-
The CLI is a native binary
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
The CLI is a native binary. `npx supercov` picks the build for your operating
|
|
28
|
+
system and architecture, and nothing is compiled on install; the same binary is
|
|
29
|
+
on PyPI as `supercov-cli` (`uvx --from supercov-cli supercov`) and on RubyGems
|
|
30
|
+
as `supercov` (`gem install supercov`), at the same version, and the source is
|
|
31
|
+
on crates.io (`cargo install supercov`). The first invocation may download
|
|
32
|
+
Supercov from the registry. Supercov itself does not upload your source or
|
|
33
|
+
coverage evidence to a Supercov service.
|
|
31
34
|
|
|
32
35
|
## 1. Run your real test command
|
|
33
36
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "supercov",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.38",
|
|
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:ruby-coverage": "cargo build -p supercov && node scripts/ruby-coverage-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.38",
|
|
78
|
+
"@supercov/cli-darwin-x64": "0.0.38",
|
|
79
|
+
"@supercov/cli-linux-arm64-gnu": "0.0.38",
|
|
80
|
+
"@supercov/cli-linux-arm64-musl": "0.0.38",
|
|
81
|
+
"@supercov/cli-linux-x64-gnu": "0.0.38",
|
|
82
|
+
"@supercov/cli-linux-x64-musl": "0.0.38",
|
|
83
|
+
"@supercov/cli-win32-arm64": "0.0.38",
|
|
84
|
+
"@supercov/cli-win32-x64": "0.0.38"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"@playwright/test": ">=1.55.0",
|