Save Spring related settings selected by User on action dialog.
Spring configuration, Test type, Active profile(s), Mocking strategy, Mock static methods - their changes from default should be saved and applied on the next dialog opening.
To Reproduce
Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.2
Description
Save Spring related settings selected by User on action dialog.
Spring configuration
,Test type
,Active profile(s)
,Mocking strategy
,Mock static methods
- their changes from default should be saved and applied on the next dialog opening.To Reproduce
spring-petclinic
projectOwner
class with the following changed settings:PetClinicApplication
as Spring configurationJUnit 4
as Testing frameworkExpected behavior
On step 3 changed settings should be saved in
.idea/utbot-settings.xml
On step 5 the settings used for test generation should be applied.Actual behavior
Testing framework
JUnit 4
is saved and applied. Spring configuration is selected by default -No Configuration
.Screenshots, logs
Step 3:
Step 5:
Environment
IntelliJ IDEA Ultimate/Community 2023.2 (supported versions)