EvoSuite / evosuite

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

Class not found exception #471

Closed gauravr2 closed 4 months ago

gauravr2 commented 5 months ago

Context

Please provide below a detailed introduction to the issue itself, and describe what you were doing when the issue happened. Or, what do you want to achieve? I am trying to run evosuite on QuixBugs buggy and patched sets. I was using Java 20, it was causing certain dependency issue. Then I tried using Java 8 and 11, getting another error, stack trace is mentioned below.

I have run randoop on the same and faced no issues and classpath is correct, help needed to figure out the issue.

Steps to Reproduce

Please break down here below all the needed steps to reproduce the issue. [If possible, please upload an example of the project you are generating tests for.]

Run the below command in the source directory of QuixBugs. java -jar evosuite-1.2.0.jar -target java_programs -class BITCOUNT

EvoSuite Arguments

Please provide the whole EvoSuite commmand you executed (if relevant) java -jar evosuite-1.2.0.jar -target java_programs -class BITCOUNT

Current Result

Please describe here below the current result you got (if relevant) [if relevant, include a screenshot]

java -jar evosuite-1.2.0.jar -target java_programs -class BITCOUNT

gauravr2 commented 4 months ago

Resolved