Explore topic-wise MCQs in Junit.

This section includes 5 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 ______________ identifies the decision points and the assignments associated with each flow.

A. Decision Table
B. Flowgraph
C. Testing Design
D. Audit
Answer» C. Testing Design
2.

_____________ is a software testing technique that is useful to help in the generation of test data.

A. Symbolic Execution
B. Stubs
C. Active testing
D. All-pairs testing
Answer» B. Stubs
3.

Stubs don t lend themselves well to ____________ unit testing.

A. Fine-grained
B. Coarse-grained
C. Redundant
D. Functional
Answer» B. Coarse-grained
4.

A ________ is a piece of code that s inserted at runtime in place of the real code.

A. Stub
B. Mock Object
C. Packet
D. Jammer
Answer» B. Mock Object
5.

Using old tests to guard against new changes is a form of ______________

A. Unit Testing
B. Integration Testing
C. Regression Testing
D. Loss Testing
Answer» D. Loss Testing