1.

To write custom matcher _____________ has to be implemented.(a) Matcher Interface(b) Hamcrest Interface(c) HamcrestMatching Interface(d) Not possible to implementI had been asked this question in semester exam.My question is taken from Integration Software Testing topic in division Software Testing Principles of JUnit

Answer»

The correct choice is (b) Hamcrest Interface

Easiest explanation: The MATCHER interface DESCRIBES all methods needed to write custom MATCHERS, which OVERRIDE the Matcher methods.



Discussion

No Comment Found

Related InterviewSolutions