-
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
Spring Integration tests UI changes #2266
Comments
Right now fuzzer can only generate |
@IlyaMuravjov This issue is about settings available on UI only. |
@EgorkaKulikov
Shall we hide |
Also I would not exclude |
Tests type and configuration
Unit tests can be generated in
No Configuration
andSpring configuration
mode.Integration tests can be generated only with existing
Spring configuration
.Tests type and mock strategy
Unit tests are generated with Engine only.
No configuration
mode any mock strategy can be used, default one isMock everything outside the class
.Spring configuration
mode is defaulted toMock using Spring configuration
and disabled.Integration tests are generated with Fuzzing only, so mocking is defaulted to
Do not mock
and disabled.Tests type and other settings
No Configuration
orXML configuration
is selected, Tests type is disabled and defaulted toUnit tests
.Integration tests
andUnit tests
.Integration tests
is selected, Test frameworks must containJUnit4
andJUnit5
TestNG
must disappear from the list of suggestions.Integration tests
is selected,XML configuration
list must disappear from the list of suggestions in Spring configuration.Environment
IntelliJ IDEA Ultimate 2023.1
Summarizing. How UI is working in Spring projects
Spring configuration
,Tests type
,Active profiles
They influence one another,
Mocking strategy
,Mock static methods
andParameterized tests
No configuration
is selected,a.
Tests type
=Unit tests
and disabledb.
Active profiles
=default
and disabledc.
Mocking strategy
is enabled can have any value from regular suggestion listSpring configuration
is selected from list of suggestions,a.
Tests type
=Unit tests
by default,b. if existing Spring configuration is selected and it is not XML-based -
Integration tests
is present in list of suggestions forTests type
c.
Parameterized tests
= false and disabledSpring configuration
,a.
Tests type
=Unit tests
Unit tests
is selected together with one of existingSpring configuration
,a.
Mocking strategy
=Mock using Spring configuration
and disabledb.
Mock static methods
= true and disabledIntegration tests
is selected together with one of existingSpring configuration
,a.
Mocking strategy
=Do not mock
and disabledb.
Mock static methods
= false and disabledMocking strategy
isDo not mock
- with or withoutSpring configuration
,a.
Mock static methods
= false and disabledThe text was updated successfully, but these errors were encountered: