-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have bazel coverage
output Cobertura XML
#17314
Comments
Hello @noel-yap, Could you please elaborate your query with complete details. Thanks! |
My query is about the status of the work to have |
There are currently no plans to add XML output support to Bazel; it may get some consideration in the future, but it would likely be just plugging in the genhtml step we advise in the documentation. |
+1 this request |
This would be a huge help for python developers! :) The use case is to use Bazel with code quality tools such as Sonarcloud/SonarQube. Unfortunately, tools like Sonarcloud expect XML coverage reports for languages such as Python, Java and Scala as for those languages, it's the more common output option. Of course, for C and similar languages this might be different. (Just for reference, here's what I am referring to: https://docs.sonarcloud.io/enriching/test-coverage/test-coverage-parameters/) |
Hello |
I'm re-opening this because of the discussion I started here: #19144 |
Is there any new progress on this issue? @c-mita |
No. I don't think Bazel will ever "operate" on or with XML files (it's not a good format for cross-language operations, merging across multiple runs, etc). It's possible that we may one day bundle an "lcov to XML" converter, but it's a low priority. |
Description of the feature request:
#1118 and #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
returnsdevelopment 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
The text was updated successfully, but these errors were encountered: