1.

_________ is a free Java tool that calculates the percentage of code accessed by tests.(a) Cobertura(b) JUnit(c) XUnit(d) MavenI got this question during an interview for a job.Question is taken from Using Mocks as Trojan Horses topic in section Testing with Mock Objects of JUnit

Answer» RIGHT OPTION is (a) Cobertura

Best explanation: Cobertura is used to identify which parts of the Java program are LACKING test COVERAGE.


Discussion

No Comment Found

Related InterviewSolutions