Skip to content

UI. Gradle project. Suggest all Test sources roots for test generation #549

Closed
@alisevych

Description

@alisevych

Description

In Gradle projects test sources root can be located anywhere. Suggest all found test source roots for test generation.

Expected behavior

In Gradle project Test sources root can be located anywhere, it can be configured in build.gradle file.
So we'll need to be able to generate tests to a directory located outside src.
Test root out of content notification

Environment

Checked on IDEA Ultimate 2022.1.3
Gradle 6.3, 7.4

Potential alternatives

Current behavior forbids destination folder outside /src/test

Context

For example: https://github.com/volivan239/virt-mem-personal/blob/main/build.gradle
Now integrationTest directory can't be selected as destination folder:

Metadata

Metadata

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-enhancementNew feature, improvement or change request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions