Description
ExecutionPhaseError from utbot is expected in generated Unit tests for Spring
To Reproduce
- Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.1 Ultimate
- Open
sm***t project
- Generate tests for
Cr***Resource class with Unit tests and Sm***tApplication selected
Expected behavior
ExecutionPhaseError is expected to be handled by UnitTestBot.
It should not be present in generated tests.
More informative exceptions should be.
Actual behavior
There is assertThrows with ExecutionPhaseError from utbot in every generated test.
Screenshots, logs
@Test
public void testBatchIndexByType1() {
Cr***Resource cr***Resource = new Cr***Resource();
assertThrows(org.utbot.instrumentation.instrumentation.execution.phases.ExecutionPhaseError.class, () -> cr***Resource.<method name>(null, null));
}
Environment
IntelliJ IDEA version - 2023.1.2 Ultimate
Project - Maven
JDK - 1.8
Description
ExecutionPhaseError from utbot is expected in generated Unit tests for Spring
To Reproduce
sm***tprojectCr***Resourceclass withUnit testsandSm***tApplicationselectedExpected behavior
ExecutionPhaseErroris expected to be handled by UnitTestBot.It should not be present in generated tests.
More informative exceptions should be.
Actual behavior
There is
assertThrowswithExecutionPhaseErrorfrom utbot in every generated test.Screenshots, logs
Environment
IntelliJ IDEA version - 2023.1.2 Ultimate
Project - Maven
JDK - 1.8