Open
Description
Description
InvocationTargetException for code with UtMock.assume() method calls in constructors and Fuzzing on.
To Reproduce
- Run the 'UTBotJava' project in IntelliJ Idea
- Install release 2022.10 build
- Find utbot-sample/src/main/java/org/utbot/examples/make/symbolic/ClassWithComplicatedMethods.java
- Use plugin to generate tests for sqrt2()
- Open the generated test
Expected behavior
Tests are supposed to be generated.
Actual behavior
An error test is generated with information about errors in the concrete executor.
InvocationTargetException is present in Concrete Executor logs.
Visual proofs (screenshots, logs, images)
///region Errors report for sqrt2
public void testSqrt2_errors() {
// Couldn't generate some tests. List of errors:
//
// 83 occurrences of:
// Default concrete execution failed
}
///endregion
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.4
Additional context
Reproducing on Release 2022.10 (branch unit-test-bot/rc2992022) and on latest main
Originally posted by @alisevych in #1102 (comment)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo