Skip to content

target/generated-test-sources is suggested in UI dialog as Test sources root #2068

@alisevych

Description

@alisevych

Description

target/generated-test-sources is shown on UI as Test sources root

To Reproduce

  1. Run IntelliJ Idea Ultimate 2022.3.3
  2. Install plugin IU built from unit-test-bot/rc2023.3 branch
  3. Create a Maven project with JDK 17
  4. Add a sample Java class to it
  5. Generate and Run tests
  6. Open UnittestBot dialog again
  7. Expand Test sources root

Expected behavior

Only test sources roots of the project and suggestion to create .../src/test/utbot_tests should be displayed.

Actual behavior

target/generated-test-sources is also displayed in the Test sources root suggestions.

Visual proofs (screenshots, logs, images)

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.3.3
Maven, JDK 17

Metadata

Metadata

Labels

comp-uiImprovements of plugin UI appearence and functionalityctg-bugIssue is a bug

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions