user5107865
user5107865

Reputation: 19

Evosuite test generation from command line on linux

I am using Evosuite from the command line in Linux and I get an error.

the path for the project is: /home/ina/workspace/ina the target class files are located in: /home/ina/workspace/ina/bin/paketa1

I use the command: java -jar evosuite-0.2.0.jar -projectCP /home/ina/workspace/ina -target /home/ina/workspace/ina/bin/paketa1

Here is what I get:

Any help would be very appreciated! Thank You

Upvotes: 2

Views: 1744

Answers (1)

arcuri82
arcuri82

Reputation: 970

At a first look, it seems the classpath is not properly set. If you have a project in /home/ina/workspace/ina, and the .class files are compiled in the folder bin, then the classpath would be /home/ina/workspace/ina/bin

If you a class Foo in package "paketa1", like for example paketa1.Foo, then the classpath is still /home/ina/workspace/ina/bin, and not /home/ina/workspace/ina/bin/paketa1

Upvotes: 1

Related Questions