Unable to generate test classes with Randoop

499 views Asked by At

Hello everyone I am using Randoop and when I try to generate some test cases I run the command and I get the following error :

D:\Progetti\Junit_test\lib>java -classpath "D:\Progetti\Junit_test\out\production\Junit_test;D:\Progetti\Junit_test\lib\randoop-all-4.2.4.jar" randoop.main.Main gentests --testclass =" com.company.Circle" Randoop for Java version "4.2.4, branch master, commit be6dbd3, 2020-07-14".

Illegal argument --testclass==com.company.Circle, should be a class name

As I have seen some tutorial online the classpath contains two path , the first to the location of the .class instance of the class I want to test , the second to the location of Randoop.

0

There are 0 answers