bazel-contrib / bazel-contrib/rules_scala

rules_scala coverage doesn't work with bazel 0.24.0 and later

Open
#798 15 comments 0 reactions 0 assignees View on GitHub
coverage
Dominant language
Starlark
Stars
384
Forks
292
Avg merge
2d 22h
Merged PRs (30d)
47

Description

```
bazel-0.24.0-linux-x86_64 coverage --extra_toolchains="//test/coverage:enable_code_coverage_aspect" //test/coverage/...
```

outputs an empty `bazel-testlogs/test/coverage/test-all/coverage.dat`

Contributor guide

Open the contributing guide

Research direction

Start by running the Bazel coverage command shown in the issue against test/coverage/ and inspect the enable_code_coverage_aspect target and generated coverage.dat. Trace why the coverage output is empty with Bazel 0.24.0 or later; done means the test-all coverage.dat contains coverage data instead of being empty.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system, testing-qa
Issue type
Bug
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.