InterviewSolution
Saved Bookmarks
| 1. |
What is the purpose of org.junit.TestResult class? |
|
Answer» A TestResult collects the results of executing a test case. It is an instance of the Collecting Parameter pattern. The test framework distinguishes between failures and errors. A failure is anticipated and checked for with assertions. Errors are unanticipated problems like an ArrayIndexOutOfBoundsException. |
|