supercov 1.1.1-aarch64-linux-gnu → 2.0.0-aarch64-linux-gnu
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.
- checksums.yaml +4 -4
- data/README.md +40 -8
- data/lib/supercov.rb +1 -1
- data/libexec/supercov +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3a4fff9a5df7703c490280286fff8231d08a412ceb84dd4d6980bbc020c8063a
|
|
4
|
+
data.tar.gz: ee00d2c5827b5f1d9cc791f2d5c6a97ca4713296a0481ef0c9ed40810e6b440c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47279cb02b20429e0754c41e67f80e59b28afaefed6572b67841fa60ba5077dd7d472385db1030a8038b0be20eab89c5bdfd317d48c2ceb4e49100dc4ca0ff53
|
|
7
|
+
data.tar.gz: 7bb569c9e07ae77b8ba278803193e71ee408f7981fe27efce3a2347d5504b36358b640ce2a3b08ea13afef32e7afcad4e17bf259b018d6fb69a614701f97d3b1
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-

|
|
2
2
|
|
|
3
|
-
**
|
|
3
|
+
**Coverage, security and code quality for coding agents**
|
|
4
4
|
|
|
5
|
-
**Supercov tells your coding agent what to fix and what to test.** It scores your code quality with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
|
|
5
|
+
**Supercov tells your coding agent what to fix and what to test.** It scores your code quality and flags security risks with [Jev](https://typesafe.ai), runs the test command you already use, and turns uncovered paths into small, actionable queries. Your agent picks a target, writes a focused test or a focused refactor, proves what improved, and keeps going.
|
|
6
6
|
|
|
7
7
|
Paste this to your coding agent to start:
|
|
8
8
|
|
|
@@ -56,6 +56,18 @@ Jev charges for what it reads and nothing for what it writes, so a megabyte of
|
|
|
56
56
|
source costs a little over a cent. Answers are cached by content, so a second
|
|
57
57
|
run pays only for what changed. See [Understanding quality](docs/quality.md).
|
|
58
58
|
|
|
59
|
+
## Find security risks
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
npx supercov security
|
|
63
|
+
npx supercov security patch # what a change introduced
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
Twelve security checks asked of every file with the same key, from injection
|
|
67
|
+
and secrets in source to paths and redirects taken from a request. Nothing is
|
|
68
|
+
averaged: a file is clean, or it names what fired, with the line and the code on
|
|
69
|
+
it where Jev confirms one. See [Security surface](docs/security.md).
|
|
70
|
+
|
|
59
71
|
## Start with the suite you already have
|
|
60
72
|
|
|
61
73
|
```bash
|
|
@@ -102,6 +114,19 @@ npx supercov -- npm test
|
|
|
102
114
|
npx supercov diff <previous-run-id> latest
|
|
103
115
|
```
|
|
104
116
|
|
|
117
|
+
Want to hand the evidence to a person? Generate one private, interactive file:
|
|
118
|
+
|
|
119
|
+
```bash
|
|
120
|
+
npx supercov report
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
The report opens in your browser with up to ten recent runs in a visual history.
|
|
124
|
+
Selecting a run compares it with the previous snapshot automatically. It has no
|
|
125
|
+
server, external assets, account, or file picker. It is written to
|
|
126
|
+
`.supercov/reports/`, where the store's own `.gitignore` keeps it out of git.
|
|
127
|
+
You can attach that one file directly to a pull request; a reviewer downloads
|
|
128
|
+
it and double-clicks it.
|
|
129
|
+
|
|
105
130
|
Use whichever complete test command the repository already trusts:
|
|
106
131
|
|
|
107
132
|
```bash
|
|
@@ -233,7 +258,7 @@ Java and Kotlin have no registry of their own here, so a JVM project takes the b
|
|
|
233
258
|
| PHP | Coming soon | — | — |
|
|
234
259
|
| C | Coming soon | — | — |
|
|
235
260
|
|
|
236
|
-
The `npx` path requires Node.js 22 or newer; the other installs need no Node. Rust support currently uses Rust 1.95; cargo-nextest 0.9.138 and 0.9.140 are supported. Python support requires CPython 3.
|
|
261
|
+
The `npx` path requires Node.js 22 or newer; the other installs need no Node. Rust support currently uses Rust 1.95; cargo-nextest 0.9.138 and 0.9.140 are supported. Python support requires CPython 3.9 or newer and measures pytest and unittest runs. Ruby support requires Ruby 3.3 or newer (3.4 or newer for full measurement) and measures RSpec, Minitest, test-unit and Cucumber runs. Go support requires Go 1.22 or newer and measures `go test`. Java and Kotlin support requires a JDK 17 or newer with Maven or Gradle, and measures every JUnit Platform engine -- JUnit 5, JUnit 4 through Vintage, Kotest and Spock -- as well as TestNG.
|
|
237
262
|
|
|
238
263
|
## Supported operating systems and architectures
|
|
239
264
|
|
|
@@ -245,7 +270,7 @@ The CLI is a single native binary. `npx supercov` selects the build for the mach
|
|
|
245
270
|
| Linux | arm64, x64 | glibc 2.28 or newer (Debian 10, Ubuntu 18.10, RHEL 8 and later), or musl (Alpine); chosen automatically |
|
|
246
271
|
| Windows | arm64, x64 | Windows 10 or newer |
|
|
247
272
|
|
|
248
|
-
JavaScript, TypeScript, Python, Ruby, Rust, Go, Java and Kotlin suites are verified on Linux, macOS and Windows -- CPython 3.
|
|
273
|
+
JavaScript, TypeScript, Python, Ruby, Rust, Go, Java and Kotlin suites are verified on Linux, macOS and Windows -- CPython 3.9 through 3.14 (on arm64 Windows, 3.9 and 3.10 as the x64 builds, since python.org publishes no arm64 build before 3.11), Ruby 3.3, 3.4 and 4.0, and Go 1.22, 1.25, 1.26 and 1.27 on every one, and JDK 17 and 21 on every one that has them (Temurin publishes no 17 for arm64 Windows, so that pairing is 21 alone). 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`).
|
|
249
274
|
|
|
250
275
|
## Supported test suites
|
|
251
276
|
|
|
@@ -286,6 +311,9 @@ npx supercov runs latest line app/checkout/session.ts:64
|
|
|
286
311
|
|
|
287
312
|
# What changed between two runs
|
|
288
313
|
npx supercov diff <previous-run-id> latest
|
|
314
|
+
|
|
315
|
+
# A portable interactive report for a person
|
|
316
|
+
npx supercov report
|
|
289
317
|
```
|
|
290
318
|
|
|
291
319
|
Collections accept `--limit` and `--offset` and print a copyable next-page command. Machine-readable output is available with `--json` when an integration needs it.
|
|
@@ -299,9 +327,9 @@ The Supercov CLI does not contact a Supercov service during a coverage run. Pack
|
|
|
299
327
|
Supercov does not rewrite your source files, tests, imports, reporter list, runner configuration, dependency tree, or normal build output. An existing user-created `supercov/` directory is never adopted.
|
|
300
328
|
|
|
301
329
|
```bash
|
|
302
|
-
npx supercov clean --dry-run # preview cleanup
|
|
303
|
-
npx supercov clean --keep 20 # keep the 20 newest runs
|
|
304
|
-
npx supercov clean # remove all runs and the build cache
|
|
330
|
+
npx supercov runs clean --dry-run # preview cleanup
|
|
331
|
+
npx supercov runs clean --keep 20 # keep the 20 newest runs
|
|
332
|
+
npx supercov runs clean # remove all runs and the build cache
|
|
305
333
|
```
|
|
306
334
|
|
|
307
335
|
## Documentation
|
|
@@ -315,6 +343,7 @@ npx supercov clean # remove all runs and the build cache
|
|
|
315
343
|
- [Supported languages and test suites](https://supercov.com/docs/supported-suites)
|
|
316
344
|
- [Understanding coverage](https://supercov.com/docs/coverage-model)
|
|
317
345
|
- [Runs and evidence](https://supercov.com/docs/evidence)
|
|
346
|
+
- [Portable HTML reports](https://supercov.com/docs/reports)
|
|
318
347
|
- [Files, privacy, and cleanup](https://supercov.com/docs/workspace-isolation)
|
|
319
348
|
- [Trusting a result](https://supercov.com/docs/verification)
|
|
320
349
|
- [Speed and storage](https://supercov.com/docs/performance)
|
|
@@ -326,3 +355,6 @@ npx supercov clean # remove all runs and the build cache
|
|
|
326
355
|
## Contributors
|
|
327
356
|
|
|
328
357
|
- [@DaVinciTachyon](https://github.com/DaVinciTachyon)
|
|
358
|
+
- [@Uhbif2](https://github.com/Uhbif2)
|
|
359
|
+
- [@maik-intellicoach](https://github.com/maik-intellicoach)
|
|
360
|
+
- [@untitaker](https://github.com/untitaker)
|
data/lib/supercov.rb
CHANGED
data/libexec/supercov
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: supercov
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: aarch64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Supercorp
|
|
@@ -44,5 +44,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
44
44
|
requirements: []
|
|
45
45
|
rubygems_version: 3.6.9
|
|
46
46
|
specification_version: 4
|
|
47
|
-
summary:
|
|
47
|
+
summary: Coverage, security and code quality for coding agents
|
|
48
48
|
test_files: []
|