ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 60 - AZ-400 discussion

Report
Export

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?

A.
Bullseye Coverage
Answers
A.
Bullseye Coverage
B.
JUnit
Answers
B.
JUnit
C.
JaCoCo
Answers
C.
JaCoCo
D.
MSTest
Answers
D.
MSTest
Suggested answer: C

Explanation:

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.

Reference:

https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/test/publish-code-coverage-results

asked 02/10/2024
Carlos Roberto
52 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first