supercov 0.0.52-x86_64-linux-gnu → 0.0.54-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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +12 -6
  3. data/lib/supercov.rb +1 -1
  4. data/libexec/supercov +0 -0
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c60c473b1b4c16c1d2413c8d1146d2160b67e3f5c06aa03e8db57c4e807109d
4
- data.tar.gz: 3122902bc27dc511e4a7f73558fc9699ed473b77975a796d04ccb15ed9991bb7
3
+ metadata.gz: 81deedfe9090d8dd1df07aae2b4fe5ed6bd67334ada587cd68135fc6176386ad
4
+ data.tar.gz: 863c34aa7ec83432bd5a00cc0216ae14741a0178690256c2af982d333620c91e
5
5
  SHA512:
6
- metadata.gz: 9005e9f95b09af7655ce7860dca3949b02b6213544784cb43ac3b37eb186cf19b0aa2d0b609684eaac5692612c6f5dfcfd9d889f1597a1660e414d5d93a0a273
7
- data.tar.gz: 074a585405aa30237f171b011b86b4c52ddae9966667d73cf318a3617d17231bcda9c6d4473a8839a802596d7f311bb8deffe8634c7acc9e9f796ccca9e91dab
6
+ metadata.gz: 4cdac62dce21ddfc297a692c0c0ea43c42a9583f75c8c5dd6df9108d2a15dc1ff269b31209f08d23640ca9248f634df80e2f7c53de10aa7288148cf2c990bdc7
7
+ data.tar.gz: 1d67226b02bd1fcd0435f28c944c1501bd10c7171af2919e0c5a6354395052dc566228bca66e33b915f38a0b4e3bb3e2ad67e65d0790fb50ee676b7b73f68bfc
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
- The same binary ships through each language's own package manager, at the same version, from one release:
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 # 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
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 | `npx supercov -- go test ./...` |
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Supercov
4
- VERSION = "0.0.52"
4
+ VERSION = "0.0.54"
5
5
  end
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: 0.0.52
4
+ version: 0.0.54
5
5
  platform: x86_64-linux-gnu
6
6
  authors:
7
7
  - Supercorp