-
Notifications
You must be signed in to change notification settings - Fork 46
Error in Fuzzing test generation for code producing Function<String, Integer>
#1419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like the problem is caused by this change cc @SBOne-Kenobi . The stracktrace of the error is:
The problem is that functional interface has not only one abstract function but also can have default and static methods. For this case they are:
Also, the issue is very hard to identify until CgTestClassConstructor#processFailure(testSet: CgMethodTestSet, failure: Throwable) just consumes an exception without any additional log printing. @sofurihafe Please, consider to add some error log printing. |
Description
Array has more than one element
error in Errors report forFuzzing test generation for code producing
Function<String, Integer>
To Reproduce
Expected behavior
Tests are supposed to be generated.
Actual behavior
An error test is generated with information about errors in the concrete executor:
Array has more than one element
No exceptions are present in concrete executor log , RD engine logs, idea.log
Only one about failed to save test report.
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IntelliJ IDEA 2022.2.3
Gradle , JDK 11
Additional context
IF Symbolic execution is turned on - a successful test is generated besides the error on.
The text was updated successfully, but these errors were encountered: