AnnitaPMechelle2026
New Member
Obviously, I am new to Java and Junit.1) I am able to run the sample tests supplied with junit (from any directory). 2) I assume, to compile a junit test, it is no different from any other java file, namely: javac fileName.java 3) My test file (.java and .class) lives in: c:\parent\child\ 4) when I attempt (in the c:\parent\child directory where fileName exists): java org.junit.runner.JUnitCore parent.child.fileName, I get the following:JUnit version 4.1Could not find class: parent.child.fileNameTime: 0OK (0 tests)5) Even if I drop parent.child altogether from the command, it makes no difference.Thanks for any help... sorry for any duplication (though I found other similar posts, I could not see anything that applied to my situation).