t-yuki / gocover-cobertura

golang : go tool cover to XML (Cobertura) export tool.

Home Page:https://github.com/t-yuki/gocover-cobertura/wiki/Screenshots

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to install gocover-cobertura

deepujain opened this issue · comments

$ go get github.com/t-yuki/gocover-cobertura
$ go get code.google.com/p/go.tools/cmd/cover
package code.google.com/p/go.tools/cmd/cover: unrecognized import path "code.google.com/p/go.tools/cmd/cover" (parse https://code.google.com/p/go.tools/cmd/cover?go-get=1: no go-import meta tags)
$

Installed go get github.com/t-yuki/gocover-cobertura and there was no need to install cmd/cover.

Generated XML reports using

$GOPATH/bin/gocover-cobertura < target/coverage/cli_coverage.out > target/coverage/cli_coverage.xml

Worked seamlessly with Jenkins CI.