Closed
Description
Description
Generated tests are disabled due to possible JVM crash with NoClassDefFoundError exception expected.
To Reproduce
- Install UnitTestBot Spring-IU-plugin built from main in IntelliJ IDEA
- Open
sm***t
project - Generate tests for
ColR
class withNo configuration
/ @SpringBootApplication configuration
Expected behavior
JVM crash is not expected for this class during test generation.
So valid enabled tests should be generated.
Actual behavior
Most of generated tests are disabled due to possible JVM crash.
With NoClassDefFoundError
expected to be thrown.
Screenshots, logs
@Test
@Disabled(value = "Disabled due to possible JVM crash")
public void testC***M***D***() {
assertThrows(NoClassDefFoundError.class, () -> colR.c***M***D***(null, null, null, null, null, null, null, null, null, null, null, null));
}
Environment
IntelliJ IDEA version - Ultimate 2023.1.4
Project - Maven
JDK - 1.8
Additional context
Not reproducing for other RestControllers in the project.
No tests are generated with Symbolic engine for simple Thread samples - in Spring-based project.
Reproducing for No configuration
+ No mocks
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done