Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Investigate automatic creation of Spring @TestConfiguration for a user project #2521

Open
Labels
comp-springIssue is related to Spring projects support ctg-enhancementNew feature, improvement or change request
@alisevych

Description

Description

Investigate automatic creation of Spring @TestConfiguration for a user project.

Expected behavior

If there is no TestConfiguration in a user project, we can suggest to create one.
Need to investigate, what information is required to do this.
Can we do this automatically? Or with minimal questions to the user?

Environment

IntelliJ IDEA 2023.* Ultimate

Potential alternatives

Ask the user to create TestConfiguration by themselves - if Integration tests generation is selected.

Context

Integration tests generation in UnitTestBot starts SpringApplication with selected configuration.
If there are unsafe operations in user code, they can be executed and there is a potential risk of corrupting or posting sensitive data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-springIssue is related to Spring projects support ctg-enhancementNew feature, improvement or change request

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /