EvoSuite / evosuite

EvoSuite - automated generation of JUnit test suites for Java classes
http://www.evosuite.org
GNU Lesser General Public License v3.0
832 stars 341 forks source link

evosuite-maven-plugin get stuck on generate #379

Open lilithyang2018 opened 2 years ago

lilithyang2018 commented 2 years ago

i tried with the latest 1.2.0, and find cannot generate any test codes, the process get stuck on generation, and fail after a timeout.

my environment: windows 10 jdk 1.8.0_281 maven 3.6.1

i'll attach the maven log and the pom.xml file. hope any guys can help me on this issue. evosuite-log.txt pom.xml.txt

dturiso commented 2 years ago

I'm stuck with the same issue:

ERROR JobExecutor - The jobs did not finish in time

after compiling the maven plugin (from github sources) and try

mvn evosuite:generate -Dcuts=tutorial.Node -DtimeInMinutesPerClass=15

I've also tried with the latest version of the plugin (1.2.1-SNAPSHOT) with identical results

Finally, I've managed to create tests with evosuite-1.2.0, but without maven, using:

java -jar evosuite-1.2.0.jar -target target/classes -projectCP target/classes;target/dependency