exam questions

Exam AZ-400 All Questions

View all questions & answers for the AZ-400 exam

Exam AZ-400 topic 7 question 14 discussion

Actual exam question from Microsoft's AZ-400
Question #: 14
Topic #: 7
[All AZ-400 Questions]

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
  • B. JUnit
  • C. JaCoCo
  • D. MSTest
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
denisred
Highly Voted 3 years, 7 months ago
Correct!
upvoted 12 times
denisred
3 years, 7 months ago
JaCoCo - JAva COde COverage
upvoted 42 times
Geezy
3 months, 3 weeks ago
Correctamundo my boy
upvoted 1 times
...
Kinon4
3 years, 6 months ago
Thanks!
upvoted 6 times
volturyon
3 years, 6 months ago
U ARE WELCOME
upvoted 4 times
...
...
mohammed159
2 years, 6 months ago
thanks
upvoted 1 times
...
...
...
ozbonny
Most Recent 9 months ago
Selected Answer: C
C. JaCoCo JaCoCo is a free code coverage library for Java, which has been created by the EclEmma team based on the lessons learned from using and integration existing libraries for many years
upvoted 1 times
...
vsvaid
11 months ago
Selected Answer: C
agree with JCoCo
upvoted 1 times
...
syu31svc
2 years, 3 months ago
Selected Answer: C
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. C is the answer
upvoted 1 times
...
Eltooth
2 years, 6 months ago
Selected Answer: C
C is correct answer.
upvoted 1 times
...
Raulgt
2 years, 7 months ago
JUnit is not a possible answer, even though is a set of libraries used in Java that is intended for unit tests only.
upvoted 2 times
anhtvux
1 year, 10 months ago
I still dont get it. Is JUnit not able to measure code coverage to put to the pipeline?
upvoted 2 times
...
...
Cheehp
2 years, 7 months ago
Selected during exam. C. JaCoCo
upvoted 1 times
...
d0bermannn
3 years, 1 month ago
jcode coverage = JaCoCo or Cobertura
upvoted 1 times
...
kinqlar
3 years, 3 months ago
Wouldn't JUnit also be possible?
upvoted 1 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago