Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. cobertura-check.bat is run ________ the JUnit tests to show which classes do not have adequate test coverage.
  1.    Before
  2.    After
  3.    Along with
  4.    Before and after
 Discuss Question
Answer: Option B. -> After




Question 2. What happens if the assert doesn't evaluate to be true?
  1.    Junit fails
  2.    Junit works Fast
  3.    Junit works temporarily
  4.    None of the above
 Discuss Question
Answer: Option A. -> Junit fails




Question 3. The Cobertura command to run while reporting is ____________
  1.    cobertura-report.bat
  2.    cobertura-instrument.bat
  3.    cobertura-check.bat
  4.    cobertura-merge.bat
 Discuss Question
Answer: Option A. -> cobertura-report.bat




Question 4. Which package assert belong to?
  1.    java.unit
  2.    Java.Net
  3.    Java 8
  4.    Java 9
 Discuss Question
Answer: Option A. -> java.unit




Question 5. The ___________ parameter specifies the minimum acceptable branch coverage rate needed by each package during Cobetura coverage checking.
  1.    datafile
  2.    packagebranch
  3.    line
  4.    regex
 Discuss Question
Answer: Option B. -> packagebranch




Question 6. Name few Java Mocking Frameworks?
  1.    Mockito
  2.    PowerMock
  3.    EasyMock
  4.    JMock
  5.    All of these
 Discuss Question
Answer: Option E. -> All of these




Question 7. ____________ parameter specifies the encoding used to read the source.
  1.    datafile
  2.    basedir
  3.    encoding
  4.    format
 Discuss Question
Answer: Option C. -> encoding




Question 8. The Cobertura command to run while checking coverage is ____________
  1.    cobertura-report.bat
  2.    cobertura-instrument.bat
  3.    cobertura-check.bat
  4.    cobertura-merge.bat
 Discuss Question
Answer: Option C. -> cobertura-check.bat




Question 9. The ___________ parameter specifies the minimum acceptable branch coverage rate needed by each class during Cobetura coverage checking.
  1.    datafile
  2.    branch
  3.    line
  4.    regex
 Discuss Question
Answer: Option B. -> branch




Question 10. The default value of the format parameter is ____________
  1.    html
  2.    jar
  3.    java
  4.    dat
 Discuss Question
Answer: Option A. -> html




Latest Videos

Latest Test Papers