1.

A JUnit Unit Test Case is compulsorily characterised by a/an known _______ and a/an expected _____(a) output, input(b) input, output(c) variable, literal(d) program, variableI got this question during an interview.My question is taken from Exploring Core JUnit in division Exploring Core JUnit of JUnit

Answer»

Right option is (b) input, OUTPUT

The best explanation: A JUnit UNIT Test Case is characterized by a known input and an expected output, which is predefined. The known input TESTS a precondition and the expected output a post-condition.



Discussion

No Comment Found

Related InterviewSolutions