Description
Description
In Settings -> Tools -> UnitTestBot:
- Add setting switch between Spring specific and regular Java flow (in Spring projects)
Expected behavior
If Spring support setting is turned ON - and the project has Spring dependencies - Spring-specific test generation should be applied. Action dialog should be changed to Spring-specific.
Parameterized tests should not be displayed.
In all other cases - regular Java test generation should be applied.
Action dialog UI should be regular, without Spring-specific logic and controls.
Environment
IntelliJ IDEA Ultimate / Community
Projects with and without Spring dependencies
Potential alternatives
Currently there are two plugin JAR-files generated: with and without Spring support.
It is not the best solution for several reasons:
- User should install/reinstall plugin - if they first used it in a Java project - and then want to use it in Spring project. Or vice a versa.
- Several artefacts support.
Context
See https://github.com/UnitTestBot/UTBotJava/actions/runs/5735792610
Both IU and IC plugins can be installed on IntelliJ IDEA Ultimate and Community.
Plugin size with and without Spring differs not critically: 34 MB maximum (168 vs 134)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status