You are automating the build process for a Java-based application by using Azure DevOps. You need to add code coverage testing and publish the outcomes to the pipeline. What should you use?
Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage.
https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=azure-devops
The task supports popular coverage result formats such as Cobertura and JaCoCo.
A is the answer
I changed my answer, I think the correct answer is A, the cobertura was born for Java (Java only), however is a old tool, the coverlet is newer and was develop for .net
projects:
https://cobertura.github.io/cobertura/
https://github.com/coverlet-coverage/coverlet
Coverlet is a cross platform code coverage framework for .NET. Bullseye Coverage is a code coverage tool for C++.
upvoted 5 times
...
This section is not available anymore. Please use the main Exam Page.AZ-400 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Mefguine
Highly Voted 4 years, 5 months agocucuff
Highly Voted 4 years, 2 months agoozbonny
Most Recent 8 months, 1 week agoPavlo
1 year, 4 months agosyu31svc
2 years, 2 months agoEltooth
2 years, 5 months agoUnknowMan
2 years, 5 months agoArnoudBM
3 years, 10 months agomultcloud
4 years agozyxphreez
4 years, 4 months agozyxphreez
4 years, 4 months agojmpienqillkaduynay
4 years, 6 months agowebforce08
4 years, 10 months ago