In eclipse:
How can I know the version of JUnit
You can use this code:
import junit.runner.Version; System.out.println("JUnit version is: " + Version.id());