You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to collect code coverage from our codebase, that widely uses TypeScript (compiled with ts_project targets). However, I'm not able to get bazel coverage to work with these targets. No matter how much I try, the "$(bazel info output_path)/_coverage/_coverage_report.dat"file is always empty.
What happened?
I'm trying to collect code coverage from our codebase, that widely uses TypeScript (compiled with
ts_project
targets). However, I'm not able to getbazel coverage
to work with these targets. No matter how much I try, the"$(bazel info output_path)/_coverage/_coverage_report.dat"
file is always empty.I've created a repo with some
js
and somets
targets. Please find more info on what works for me and what doesn't from the repo: /~https://github.com/aapzu/bazel-coverage-not-working-reproVersion
Development (host) and target OS/architectures:
Output of
bazel --version
: bazel 7.4.0Version of the Aspect rules, or other relevant rules from your
WORKSPACE
orMODULE.bazel
file: /~https://github.com/aapzu/bazel-coverage-not-working-repro/blob/main/WORKSPACELanguage(s) and/or frameworks involved: TypeScript, JavaScript
How to reproduce
Any other information?
No response
The text was updated successfully, but these errors were encountered: