Hello I'm getting the following erro after put the following command in the MS-DOS:
C:\Users\Aline\Desktop\ClassesdoEstudodeCaso\ProjetosSelecionados\xerces-2.10.0\bin\org\apache\xerces\util>java -ea -classpath randoop.jar randoop.main.Main gentests --testclass=ParserConfigurationSettings --timelimit=60
policy = sun.security.provider.PolicyFile@10f87f48
Error: No class with name "ParserConfigurationSettings" found on the classpath
This is most likely a problem with the classpath. It may be wrong, or
it is formatted incorrectly on the command line. The other possibility
is that the wrong class name is given.
Exiting Randoop.
And the "C:\Users\Aline\Desktop\ClassesdoEstudodeCaso\ProjetosSelecionados\xerces-2.10.0\bin\org\apache\xerces\util" already is in the classpath
As stated in the Randoop error message that you quoted, you have specified the classpath incorrectly.
Your command line contains
-classpath randoop.jar
. This classpath does not contain the classParserConfigurationSettings
.As shown in the Running Randoop section of the Randoop Manual, the classpath needs to contain both Randoop and the code being tested.