Registry / testing / confluentinc-bincover

confluentinc-bincover

JSON →
library0.2.0gogounverified

Provides an easy way to measure code coverage of Go binaries by wrapping test execution and collecting coverage profiles.

go get github.com/confluentinc/bincover
INSTALL
IMPORT
SIG · CONFLUENTINC-BINCO
C
confluentinc-bincover
testinggov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

bincover
github.com/confluentinc/bincover

Collects code coverage from a binary and prints the percentage.

package main import ( "fmt" "github.com/confluentinc/bincover" ) func main() { cov, err := bincover.CollectCoverage("./mybinary", nil) if err != nil { panic(err) } fmt.Printf("Coverage: %.2f%%\n", cov.Covered/cov.Total*100) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
confluentinc-bincover — go get confluentinc-bincover · libregistry