EvoSuite / evosuite

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

Not a subtype #400

Open rxh1999 opened 2 years ago

rxh1999 commented 2 years ago

Context

EvoSuite: 1.2.0 java: 1.8 maven: 3.8.1

Steps to Reproduce

  1. download evosuite-1.2.0.jar and evosuite-standalone-runtime-1.2.0.jar
  2. download ReproduceNotSubtype-1.0-SNAPSHOT.jar
  3. java -jar evosuite-1.2.0.jar -projectCP /home/xhren/Downloads/ReproduceNotSubtype-1.0-SNAPSHOT.jar -class org.reproduce.L1LocalCacheObserver
  4. error happen

EvoSuite Arguments

java -jar evosuite-1.2.0.jar -projectCP /home/xhren/Downloads/ReproduceNotSubtype-1.0-SNAPSHOT.jar -class org.reproduce.L1LocalCacheObserver

Current Result

[xhren@desktop-k4lj608 Downloads]$ java -jar evosuite-1.2.0.jar -projectCP /home/xhren/Downloads/ReproduceNotSubtype-1.0-SNAPSHOT.jar -class org.reproduce.L1LocalCacheObserver

Expected result

generate test suites without exceptions

Additional info

project to reproduce the error: https://github.com/rxh1999/ReproduceNotSubtype