Issue
In eclipse:
- Window --> Preferences
- Expand Java at left side of panel --> JUnit is there under Java
How can I know the version of JUnit in eclipse?
Solution
You can use this code:
import junit.runner.Version;
System.out.println("JUnit version is: " + Version.id());
Answered By - fortytwo