supercov 0.0.52-x86_64-linux-gnu → 0.0.53-x86_64-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 +12 -6
- data/lib/supercov.rb +1 -1
- data/libexec/supercov +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48d76f6fba1c060d9df3a73008a73c989ac305c131acd13ef3125042f7526c4c
|
|
4
|
+
data.tar.gz: 68122b13b580d616dc3aa4cbf4e71dbccd565dd994258de456ee2ee836315c67
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 549cf031b6a43f3484e93086c9f6c22ac979fca05d97990050f4a6428503b714af215ff60d2ae67ccb68066555a501ccf30777aa41b01ae40fa78b845fd3898b
|
|
7
|
+
data.tar.gz: bea597e08882e649b2ca13bc877753f93c15c300e460c52c2b7881673a01263381bcb228bc853ff4cf8a3d418c0d4242b7d7e56c29e7a4e099aa03e674adef97
|
data/README.md
CHANGED
|
@@ -136,17 +136,23 @@ The denominator comes from source structure before the run, so adding or removin
|
|
|
136
136
|
|
|
137
137
|
## Install for your language
|
|
138
138
|
|
|
139
|
-
|
|
139
|
+
Measuring a project should not start by installing another language. The same binary, at the same version, from one release:
|
|
140
140
|
|
|
141
141
|
```bash
|
|
142
|
-
npx supercov -- npm test
|
|
143
|
-
uvx --from supercov-cli supercov -- pytest
|
|
144
|
-
gem install supercov && supercov -- bundle exec rspec
|
|
145
|
-
cargo binstall supercov && supercov -- cargo test
|
|
142
|
+
npx supercov -- npm test # npm
|
|
143
|
+
uvx --from supercov-cli supercov -- pytest # PyPI
|
|
144
|
+
gem install supercov && supercov -- bundle exec rspec # RubyGems
|
|
145
|
+
cargo binstall supercov && supercov -- cargo test # crates.io
|
|
146
|
+
go run github.com/supercorp-ai/supercov/cmd/supercov@latest -- go test ./... # Go
|
|
147
|
+
brew install supercorp-ai/tap/supercov && supercov -- ./gradlew test # Homebrew
|
|
146
148
|
```
|
|
147
149
|
|
|
148
150
|
`pip install supercov-cli` and `gem install supercov` install a wheel or gem that carries the binary for your platform; nothing is compiled. `cargo binstall` downloads that same binary from the GitHub release, while plain `cargo install supercov` builds it from source and needs Rust 1.95.
|
|
149
151
|
|
|
152
|
+
A Go project needs Go and nothing else. Like any `go run` with a version suffix it resolves by module path and ignores the `go.mod` in your current directory, so it neither needs nor touches your module.
|
|
153
|
+
|
|
154
|
+
Java and Kotlin have no registry of their own here, so a JVM project takes the binary directly -- Homebrew above, `npx` if Node is already present, or the platform archive from the [latest release](https://github.com/supercorp-ai/supercov/releases/latest). Maven and Gradle are driven as your test command, not as a plugin. Supercov adds the JUnit Platform launcher its measurement needs to the build file inside its own isolated workspace copy -- your `pom.xml` or `build.gradle` is never edited.
|
|
155
|
+
|
|
150
156
|
## Supported languages
|
|
151
157
|
|
|
152
158
|
| Language | Status | Start with |
|
|
@@ -156,7 +162,7 @@ cargo binstall supercov && supercov -- cargo test # crates.io
|
|
|
156
162
|
| Rust | Available | `npx supercov -- cargo test` |
|
|
157
163
|
| Python | Available | `npx supercov -- pytest` |
|
|
158
164
|
| Ruby | Available | `npx supercov -- rspec` |
|
|
159
|
-
| Go | Available | `
|
|
165
|
+
| Go | Available | `go run github.com/supercorp-ai/supercov/cmd/supercov@latest -- go test ./...` |
|
|
160
166
|
| Java | Available | `npx supercov -- mvn test` |
|
|
161
167
|
| Kotlin | Available | `npx supercov -- ./gradlew test` |
|
|
162
168
|
| Zig | Coming soon | — |
|
data/lib/supercov.rb
CHANGED
data/libexec/supercov
CHANGED
|
Binary file
|