Using spring-cloud-starter-eureka dependency evosuite does not generate the tests.

56 views
Skip to first unread message

Daniel Arias Espinosa

unread,
Nov 15, 2018, 3:24:38 PM11/15/18
to EvoSuite
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>

...
* EvoSuite 1.0.6
Going to execute 1 jobs
Estimated completion time: 1 minutes, by 2018-11-15T15:28:44.321
Going to start job for: evo.EvoPrueba. Expected to end in 60 seconds, by 2018-11-15T15:28:44.923
Completed job. Left: 0
* Updating database to evo.EvoPrueba


=== CTG run results ===
Removed test suites: 0
New test suites: 0

WARN: failed to generate tests for evo.EvoPrueba

some idea about that?


Daniel Arias Espinosa

unread,
Nov 16, 2018, 3:48:42 PM11/16/18
to EvoSuite
[MASTER] 15:46:53.583 [pool-2-thread-1] ERROR TestSuiteGenerator - Problem for controller.SatkController. Full stack:
java.lang.NoSuchMethodError: com.thoughtworks.xstream.XStream.setupDefaultSecurity(Lcom/thoughtworks/xstream/XStream;)V
at org.evosuite.setup.InheritanceTreeGenerator.readJDKData(InheritanceTreeGenerator.java:444)
at org.evosuite.setup.InheritanceTreeGenerator.createFromClassPath(InheritanceTreeGenerator.java:82)
at org.evosuite.setup.DependencyAnalysis.initInheritanceTree(DependencyAnalysis.java:77)
at org.evosuite.setup.DependencyAnalysis.analyzeClass(DependencyAnalysis.java:131)
at org.evosuite.TestSuiteGenerator.initializeTargetClass(TestSuiteGenerator.java:110)
at org.evosuite.TestSuiteGenerator.generateTestSuite(TestSuiteGenerator.java:130)
at org.evosuite.rmi.service.ClientNodeImpl$1.run(ClientNodeImpl.java:145)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

This is the ERROR LOG

Reply all
Reply to author
Forward
0 new messages