Description
Code generation error on Unit tests generation for @Entity
To Reproduce
- Install IU UnitTestBot plugin built from main in IntelliJ IDEA 2023.2
- Open
spring-petclinic project
- Generate
Unit tests for Owner class with PetClinicApplication selected
Expected behavior
All the tests are expected to be generated correctly.
Actual behavior
Errors report is generated.
StackOverflowError is thrown from codegen (see utbot-engine-current.log)
Screenshots, logs
///region Test suites for executable org.springframework.samples.petclinic.owner.Owner.toString
///region Errors report for toString
public void testToString_errors() {
// Couldn't generate some tests. List of errors:
//
// 1 occurrences of:
// <Throwable with empty message>
}
///endregion
///endregion
utbot-engine-current-error.log
Environment
IntelliJ IDEA version - 2023.2 Ultimate
Project - Gradle
JDK - 17
Description
Code generation erroron Unit tests generation for@EntityTo Reproduce
spring-petclinicprojectUnit testsforOwnerclass withPetClinicApplicationselectedExpected behavior
All the tests are expected to be generated correctly.
Actual behavior
Errors report is generated.
StackOverflowError is thrown from codegen (see utbot-engine-current.log)
Screenshots, logs
utbot-engine-current-error.log
Environment
IntelliJ IDEA version - 2023.2 Ultimate
Project - Gradle
JDK - 17