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

EvoSuite for Kotlin SpringBoot project #382

Open SoumyadeepDebnath opened 2 years ago

SoumyadeepDebnath commented 2 years ago

Does EvoSuite support for Kotlin SpringBoot project?

I have tried for Kotlin SpringBoot projects but I am facing below mentioned Issues.... It is trying to look out for classes that are part of kotlin dependencies in pom file.

Errors ::

Class Not Found Exception

Example ::

Caused by: java.lang.ClassNotFoundException: Class 'kotlin/TypeCastException.class' should be in target project, but could not be found! at org.evosuite.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:158) at org.evosuite.instrumentation.InstrumentingClassLoader.loadClass(InstrumentingClassLoader.java:126) ... 16 common frames omitted Caused by: java.lang.ClassNotFoundException: Class 'kotlin/TypeCastException.class' should be in target project, but could not be found! at org.evosuite.instrumentation.InstrumentingClassLoader.instrumentClass(InstrumentingClassLoader.java:145) ... 17 common frames omitted