Skip to content

Disclaimer of generating integration tests #2609

Closed
@alisevych

Description

@alisevych

Description

Disclaimer regarding arbitrary side-effects of generating integration tests.

Expected behavior

That is for Spring action dialog only.

If user selects some existing Spring configuration,
they can select Test type Integration tests.

When user clicks Generate tests or Generate and Run,
if Integration tests are selected,
the dialog with the following text should b shown:

Warning

Generating "Integration tests" may lead to corrupting user data or inflicting other harm.
Please use a test configuration or profile.

Actions:

Proceed
Go Back

If user clicks Proceed - then Spring-specific test generation is started with selected settings.

If user clicks Go Back - then test generation is not started. Action dialog is still displayed with user selected settings.

Environment

IntelliJ IDEA 2023.2 Ultimate/Community

Additional context

Please also change Tests type to Test type

Metadata

Metadata

Labels

comp-fuzzingIssue is related to the fuzzingcomp-sandboxingIssue is related to sandboxing unpermitted operations by Java Security Managercomp-springIssue is related to Spring projects supportcomp-uiImprovements of plugin UI appearence and functionalityctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions