bazelbuild / bazelbuild/rules_java

Coverge support breaks when test has its own dependency on `org.jacoco.*`

Open
#202 1 comment 1 reaction 0 assignees View on GitHub
P3
Dominant language
Starlark
Stars
103
Forks
102
PR merge metrics
No merged PRs in 30d

Description

As a coverage tool, it is highly unlikely that a library will include a genuine dependency on `org.jacoco.*`. However;

- There are no safeguards in place. If this does happen, `bazel coverage` may just not work. Ideally what I suspect to be a technical limitation would be reported on at compile time.
- Sometimes third party packages include test dependencies as compile dependencies by mistake. e.g. https://github.com/aliyun/aliyun-openapi-java-sdk/pull/930

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.