Description
There is used Enum variable duplication in the test generated by Symbolic engine.
To Reproduce
- Run the 'utbot' project in IntelliJ Idea 2022.3.3 Ultimate
- Install plugin built from unit-test-bot/rc2023.3 branch
- Create a new IntelliJ project
- Create new Java class:
public class B {
int field = 5;
}
- Create new Java class:
public class A {
B dependency = new B();
public int b() {
return dependency.field + 10;
}
}
- Try to generate tests with UnitTestBot action for class A
Expected behavior
All needed classes should be compiled before UnitTestBot starts reading classes and test generation.
Actual behavior
Recompile fails for A.java
Visual proofs (screenshots, logs, images)

Environment
Windows 10 Pro
IntelliJ IDEA 2022.3.3 Ultimate
IntelliJ project, JDK 8
Additional context
In the previous versions the whole project was built before test generation was possible.
Description
There is used Enum variable duplication in the test generated by Symbolic engine.
To Reproduce
Expected behavior
All needed classes should be compiled before UnitTestBot starts reading classes and test generation.
Actual behavior
Recompile fails for A.java
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.3.3 Ultimate
IntelliJ project, JDK 8
Additional context
In the previous versions the whole project was built before test generation was possible.