I launch a “.bat” file to launch one java test
the file contains :
<path to java> -cp<all jar available in the classpath> org.junit.runner.JUnitCore
<Package.classname>
all jar are separated by “;”
when I launch the “.bat”file ,I see the following message on the cmd window :
JUnit version 4.6
Could not find class: tester.Test
Time: 0
OK (0 tests)
Is tester.Test.class in the class path? That may be as simple as adding “.” to the classpath.