Multiple choice technology testing

Which of the following elements needed in CLASSPATH to run the Junit tests

  1. The JUnit JAR file.

  2. b.) Location of your JUnit test classes.

  3. c.) Location of classes to be tested.

  4. d.) JAR files of class libraries that are required by classes to be tested

  5. e.) All of the above

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

To run JUnit tests, the CLASSPATH must include: the JUnit JAR file itself (Option A), the location of JUnit test classes (Option B), the location of classes being tested (Option C), and any dependent library JARs (Option D). All four components (Option E) are essential for the test runner to find and execute tests properly.