InterviewSolution
Saved Bookmarks
| 1. |
To use JUnit in a project we need to add which JAR files on our test classpath?(a) junit.jar(b) hamcrest-core.jar(c) junit.jar and hamcrest-core.jar(d) java-junit.jarThis question was addressed to me in an interview for job.My question is from Exploring Core JUnit topic in section Exploring Core JUnit of JUnit |
|
Answer» RIGHT choice is (C) JUNIT.jar and hamcrest-core.jar Explanation: hamcrest-core.jar has Matchers that JUnit uses for UNIT testing. |
|