bazelbuild / bazelbuild/bazel

Have `bazel coverage` output Cobertura XML

Open
#17,314 9 comments 2 reactions 0 assignees View on GitHub
coverage P2 team-Rules-Server type: feature request
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the feature request:

https://github.com/bazelbuild/bazel/issues/1118 and https://github.com/bazelbuild/bazel/issues/5246 mention having `bazel coverage` output Cobertura XML. What's the status of this?

### What underlying problem are you trying to solve with this feature?

I'd like to use `bazel coverage` with https://bazel.build/configure/coverage.

### Which operating system are you running Bazel on?

Linux, Mac

### What is the output of `bazel info release`?

release 5.3.0

### If `bazel info release` returns `development version` or `(@non-git)`, tell us how you built Bazel.

_No response_

### What's the output of `git remote get-url origin; git rev-parse master; git rev-parse HEAD` ?

Not applicable.

### Have you found anything relevant by searching the web?

No

### Any other information, logs, or outputs that you want to share?

Not applicable

Contributor guide

Open the contributing guide

Research direction

Start by reading the linked issues #1118 and #5246 and the coverage documentation at bazel.build/configure/coverage, then locate the implementation behind `bazel coverage`. Done means `bazel coverage` can produce Cobertura XML suitable for the documented integration; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.