gobco icon indicating copy to clipboard operation
gobco copied to clipboard

Measure branch coverage of golang tests

Results 10 gobco issues
Sort by recently updated
recently updated
newest added

Re: https://github.com/rillig/gobco/issues/23#issuecomment-975886652 "It looks a bit strange to have these options interleaved with -test, but I didn't see any better way to avoid all the quoting and escaping issues when...

when individual package paths are passed, gobco works like a charm However, when gobco is run at a higher levels, composed of multiple nested packages, it errors out saying `no...

enhancement
help wanted

# use gobco cannot work go-version: echo $GOROOT /go/go1.16 origin func: ``` func BranchCovTest(node int) { _ = node > 50 _ = node == 0 _ = node <...

How can I get branch coverage using gobco simultaneously while running go test coverage? I am already using go test cover command, which can compute the coverage of actually running...

Given the following `toy.go`: ``` package toy import "math/rand" func Foo() string { switch rand.Intn(2) { case 0: return "zero" case 1: return "one" } panic("impossible") } ``` and the...

Assuming that gobco would output which test covers which condition, it would be possible to answer questions like the following: * For each testee, is there a test that covers...

enhancement

Hi @rillig First of all Thanks so much for Branch(C1) and Condition(C2) coverage implementation. It helps us a lot. I have to find C1 for whole project. So I planned...

# Overview In a directory with multiple package (Maybe they are `something` and `something_test`), it tries to find the package's path of `something`. It is performed by looking for its...

# Overview I fixed #33 # Changed points - In `main.go`, There was a method `findInModule` that gets relative path from `go.mod` . I transformed it to a function to...

``` ./packrat.go:361:43: fmt.Sprint arg List is a func value, not called ./printer.go:66:23: fmt.Sprint arg v is a func value, not called ./printer.go:66:40: fmt.Sprint arg List is a func value, not...