Closed
Description
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
- Install UnitTestBot plugin built from main in IntelliJ IDEA 2023.2
- Open
spring-petclinic
project - Generate tests for
Owner
class with the following changed settings:
PetClinicApplication
as Spring configurationJUnit 4
as Testing framework
- Wait generation is finished
- Reopen action dialog for the same/different class
Expected 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)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done