Strange casts in fuzzed Spring tests, sometimes leading to compilation errors #2722
Labels
comp-fuzzing
Issue is related to the fuzzing
comp-spring
Issue is related to Spring projects support
ctg-bug
Issue is a bug
Description
Run unit tests generation for
PetController
class inspring-petclinic
application.Use standard settings, just click OK on UI.
Actual behavior
The following test is generated (there are more than ten strange tests, this is just an example):
Note that there are two types of strange casts: to
Object
and toOwner
/Errors
. One of them leads to compilation error.Additional context
Kirill says that this bug also reproduces on October release.
The text was updated successfully, but these errors were encountered: