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 p...
Microsoft AZ-400 Exam
Questions Number: 312 out of 535 Questions
58.32%
Question 312
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?
Use Publish Code Coverage Results task in a build pipeline to publish code coverage results to Azure Pipelines or TFS, which were produced by a build in Cobertura or JaCoCo format. Incorrect Answers: A: Bullseye Coverage is used for C++ code, and not for Java. Note: There are several versions of this question in the exam. The question has two possible correct answers: - Cobertura - JaCoCo Other incorrect answer options you may see on the exam include the following: - Coverlet - NUnit - Coverage.py Reference: https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results