Comments (8)
I agree, it would be nice. I don't have the capacity to make such an enhancement for the foreseeable future. Please feel free to make the change and send a pull request.
from gocov.
This needn't be incorporated into gocov, you can take the source for gocov
report and write a new program that produces xunit style xml output from
the json produced by gocov test.
On Wed, Jan 23, 2013 at 10:50 AM, Andrew Wilkins
[email protected]:
I agree, it would be nice. I don't have the capacity to make such an
enhancement for the foreseeable future. Please feel free to make the change
and send a pull request.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-12573888.
from gocov.
@davecheney Thanks for pointing that out; I should've suggested that before, like Issue #10. I think it's fair to leave the issue here, though, until there exists such a tool.
from gocov.
Sure. This is open source; see a need, fill a need.
On Wed, Jan 23, 2013 at 11:55 AM, Andrew Wilkins
[email protected]:
@davecheney https://github.com/davecheney Thanks for pointing that out;
I should've suggested that before, like Issue #10#10.
I think it's fair to leave the issue here, though, until there exists such
a tool.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/28#issuecomment-12576167.
from gocov.
Why gocov report
is not a separate program then? ;) If you don't mind, I will add a -xml flag.
from gocov.
There needs to be at least one way to report on the coverage, and requiring users to install multiple programs just for the very basics is onerous.
If you're going to implement Cobertura/XML formatting, please make it a separate program. I have little time for gocov as it is; I won't have time to maintain ever growing functionality.
from gocov.
@axw Ok, will do.
from gocov.
Work started at https://github.com/AlekSi/gocov-xml
from gocov.
Related Issues (20)
- Installation windows7 fails HOT 3
- Add support for test coverage merging; e.g. gocov test ./... HOT 8
- Output a coverage summary HOT 2
- flag provided but not defined: -coverprofile
- gocov output data format as standard go test does? HOT 8
- gocov's result is different from go test HOT 1
- If a package has no test files, the lines in that package are not added to the total line count. HOT 10
- Pass arguments to go list HOT 4
- please tag a version, to make go modules usage easier HOT 2
- gocov: gocov report print total coverage NaN% when totalReached and totalStatements are zero
- gocov does not pass -tags parameter HOT 1
- What is the difference to the go standard tools?
- gocov failed when trying on file that has a formatting directive
- 按照指示安装不了,有什么国内的镜像地址吗 HOT 1
- go get doesn't install HOT 2
- the code source default is $GOROOT. whether the code source path can be specified by the user when using gocov convert? HOT 3
- Unable to use go install HOT 2
- gocov with go1.18 generics HOT 3
- [question] Is it possible to exclude a method from code coverage? HOT 1
- gocov with coverprofile raise error, the file path contains duplicate parts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gocov.