1.

____________ defines a variable that can be referred to by the script.(a) describeTo(Description description)(b) invoke(Invocation invocation)(c) perform(String script)(d) where(String name, Object value)This question was posed to me by my college professor while I was bunking the class.My question comes from Setting Up a Maven Project topic in section Running JUnit Tests from Maven2 of JUnit

Answer»

The correct CHOICE is (d) where(String name, Object value)

The best EXPLANATION: The where() FUNCTION returns the ACTION, so that more variables can be DEFINED if needed.



Discussion

No Comment Found

Related InterviewSolutions