Explore topic-wise MCQs in Junit.

This section includes 3 Mcqs, each offering curated multiple-choice questions to sharpen your Junit knowledge and support exam preparation. Choose a topic below to get started.

1.

The ___________ parameter specifies the minimum acceptable line coverage rate needed by each class during Cobetura coverage checking.

A. datafile
B. branch
C. line
D. regex
Answer» D. regex
2.

The ___________ parameter specifies the minimum acceptable branch coverage rate needed by each class during Cobetura coverage checking.

A. datafile
B. branch
C. line
D. regex
Answer» C. line
3.

cobertura-check.bat is run ________ the JUnit tests to show which classes do not have adequate test coverage.

A. Before
B. After
C. Along with
D. Before and after
Answer» C. Along with