JUnit Questions and Answers – Refactoring with Mock Objects

This set of JUnit Question Bank focuses on “Refactoring with Mock Objects”. 1. A profiler can look for _________ in an application. a) Bottlenecks b) Redundancies c) Nodes d) States 2. ___________ tests are a superset of all other tests. a) Unit b) Integration c) Loss d) Acceptance 3. A ___________ is a test that … Read more

advertisement

JUnit Questions and Answers – Unit Testing with Mock Objects

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Unit Testing with Mock Objects”. 1. __________ is an error condition hiding another error condition. a) Fault Masking b) Error Hiding c) Redundant Masking d) Fault Gaping 2. To get an expected test outcome a standard procedure is followed which is referred as … Read more

advertisement

JUnit Questions and Answers – Mock Objects

This set of JUnit Interview Questions and Answers focuses on “Mock Objects”. 1. ____________ is a software analysis method used to identify structural units in code under test. a) Linear code sequence and jump b) State coverage c) Lossless packs d) Linear jumps 2. LCSAJ stands for _______________ a) Loading Code standard as Jumps b) … Read more

advertisement

JUnit Questions and Answers – Stubbing the Connection

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Stubbing the Connection”. 1. A combination of function coverage and branch coverage is sometimes also called _______________ a) Function coverage b) Statement coverage c) Decision coverage d) Condition coverage 2. ____________ criterion requires that every point of entry and exit in the program … Read more

advertisement

JUnit Questions and Answers – Stubbing a Web Server’s Resources

This set of JUnit Online Quiz focuses on “Stubbing a Web Server’s Resources”. 1. ______________ requires that only the first and second conditions of the RIP model are satisfied. a) Weak mutation testing b) Strong mutation testing c) Weak test data d) Strong test data 2. Weak mutation is closely related to ____________ methods. a) … Read more

advertisement

JUnit Questions and Answers – Jetty as an Embedded Server

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on ” Jetty as an Embedded Server”. 1. _________________ is an existing defect in the system which does not cause any failure. a) Latent defect b) Redundancy c) Failure d) Exit Cause 2. ________________ are set of documents, tools and other components that has … Read more

advertisement

JUnit Questions and Answers – Stubbing an HTTP Connection

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Stubbing an HTTP Connection”. 1. To perform ____________ the code needs to be in executive form. a) Dynamic Testing b) Static Testing c) Integration Testing d) Documentation Testing 2. ______________ is a process of evaluating software at development phase. a) Validation b) Verification … Read more

advertisement

JUnit Questions and Answers – Stubs

This set of JUnit Online test focuses on “Stubs”. 1. Which is likely to benefit most from the use of test tools providing test capture and replay facilities? a) Regression testing b) Integration testing c) System testing d) User acceptance testing 2. While testing a product designed to mark exams, a tester determines that all … Read more

advertisement

JUnit Questions and Answers – Testing in the Development Cycle

This set of JUnit Multiple Choice Questions & Answers (MCQs) focuses on “Testing in the Development Cycle”. 1. Decision table technique is sometimes also referred to as a ________ table. a) Cause-effect b) Redundant c) Extreme d) Isolated 2. ___________ is a model that illustrates how testing activities integrate with software development phases. a) Waterfall … Read more

advertisement

JUnit Questions and Answers – Test-driven Development

This set of JUnit test focuses on “Test-driven Development”. 1. White box testing is also known as _____________ a) Structure-based testing b) Black box testing c) Free testing d) Closed testing 2. White box testing is ______________ a) Static b) Dynamic c) Infeasible d) Time-consuming 3. A _____________ test is when an invalid input is … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.