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

failed to generate tests for classes not found class external library #417

Open alr2d2 opened 2 years ago

alr2d2 commented 2 years 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?

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.]

1. 2. 3.

EvoSuite Arguments

Please provide the whole EvoSuite commmand you executed (if relevant)

"C:\Program Files\Java\jdk-11\bin\java.exe" -jar C:/evosuite/evosuite-1.2.0.jar -setup target/classes C:/Users/xxxxxxx/.m2/repository/jakarta/persistence/jakarta.persistence-api/2.2.3/jakarta.persistence-api-2.2.3.jar C:/Users/xxxxxx/.m2/repository/org/springframework/data/spring-data-jpa/2.3.4.RELEASE/spring-data-jpa-2.3.4.RELEASE.jar C:/Users/xxxxxxx/.m2/repository/org/apache/commons/commons-collections4/4.4/commons-collections4-4.4.jar

"C:\Program Files\Java\jdk-11\bin\java.exe" -jar C:\evosuite\evosuite-1.2.0.jar -class com.xxxxxx.absis.apps.lib.cbk.legalcompliance.legalcompliancelib.utils.predicate.search.ArqJpaPredicateSearchBuilder

Current Result

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

Expected result

Please describe here below what should be the expected behaviour (if relevant)

Additional info

Please add any information of interest here below

Class into the jar jakarta.persistence-api-2.2.3.jar but not reconized

xxxxxx confidencial names