-
Notifications
You must be signed in to change notification settings - Fork 45
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
No Unit tests are generated for a simple @Entity class #2525
Comments
Reproducing on plugin built from newest main. Now there are exceptions in utbot-enigine-current.log12:18:06.189 | INFO | EngineProcessMain | ----------------------------------------------------------------------- 12:18:07.440 | ERROR | EngineProcessMain | Spring Analyzer crashed, resorting to using empty bean list
12:18:07.463 | INFO | AnalyticsConfigureUtil | PathSelectorType: INHERITORS_SELECTOR
|
@EgorkaKulikov @tyuldashev |
Description
When generating Unit tests for
@Entity
inspring-petclinic
project, no tests are being generated.Reproducing in different modes.
Reproducing for different entities.
To Reproduce
spring-petclinic
projectOwner
class:No configuration
orPetClinicApplication
can be selected with anyMocking strategy
Expected behavior
Some tests are expected to be generated.
Actual behavior
No tests are being generated. Empty
OwnerTest
class is created.Reproducing even if one method under test is selected.
Reproducing with
No configuration
orPetClinicApplication
.Reproducing with any
Mocking strategy
selected.Reproducing for
Visit
andPetTypeFormatter
classes.Screenshots, logs
No exceptions in idea.log and in utbot-engine-current.log:
Environment
IntelliJ IDEA version - Ultimate 2023.2
Project - Gradle
JDK - 17
OS - Windows 10 Pro
Additional context
Not reproducing with plugin version 2023.8.5004
The text was updated successfully, but these errors were encountered: