1.

____________ tests can control both the inputs to each method and the behaviour of secondary objects.(a) White Box(b) Unit(c) Black Box(d) LossI had been asked this question during an interview.I need to ask this question from Mocking an HTTP Connection topic in chapter Testing with Mock Objects of JUnit

Answer»

The correct option is (a) White BOX

The EXPLANATION is: Secondary OBJECTS LIKE mock objects and stubs are controlled by white box TESTS.



Discussion

No Comment Found

Related InterviewSolutions