bazelbuild / bazelbuild/bazel

Need a way to generate .exec file instead of .dat file for coverage

Open
#19,172 13 comments 0 reactions 0 assignees View on GitHub
coverage type: feature request untriaged
Dominant language
Java
Stars
25.8k
Forks
4.6k
Avg merge
2d 20h
Merged PRs (30d)
72

Description

### Description of the feature request:

When there is a unit test run completion, bazel generate coverage.dat file for coverage.
We have a custom use case where we need .exec file.
We need a way to control this.

### Which category does this issue belong to?

Core

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

_No response_

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

_No response_

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

_No response_

### 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` ?

_No response_

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

_No response_

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

_No response_

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is named. Begin by locating Bazel's coverage output handling and the code that produces coverage.dat, then determine how output format selection should work and what coverage tests would verify the requested .exec behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.