String () { try { return PathUtil.getJarPathForClass(ReflectionUtil.forName("junit.runner.TestSuiteLoader")); //junit3 specific class } catch (Exception e) { //IDEA started from sources won't have JUnit3 library in classpath, so let's take it from Maven repository return new File(SystemProperties.getUserHome(), ".m2/repository/junit/junit/3.8.1/junit-3.8.1.jar").getAbsolutePath(); } }