Skip to content
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

Remember Test Sources root choice and suggest as default #1010

Closed
alisevych opened this issue Sep 26, 2022 · 0 comments · Fixed by #1519
Closed

Remember Test Sources root choice and suggest as default #1010

alisevych opened this issue Sep 26, 2022 · 0 comments · Fixed by #1519
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request

Comments

@alisevych
Copy link
Member

Description

Test sources root chosen by the user in test generation should be remembered and suggested as default the next time.
Currently if the new test sources root utbot-tests is generated - other test root is shown as default in Gradle project.

To Reproduce

  1. Run a Maven project in IntelliJ Idea 2022.1.4 - with the newest UTBot plugin build from main installed
  2. Test sources root is present in project
  3. Open UnitTestBot test generation dialog for a Java class
  4. Select utbot-tests to be created as the new test sources root, generate tests
  5. Open UnitTestBot dialog once again

Expected behavior

Created test sources root utbot-tests should be selected by default.

Actual behavior

User pre-defined test sources root is selected by default.

Visual proofs (screenshots, logs, images)

image

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.4
JDK 8
Maven project

@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Sep 26, 2022
@korifey korifey moved this to Todo in UTBot Java Sep 26, 2022
@alisevych alisevych added ctg-enhancement New feature, improvement or change request and removed ctg-bug Issue is a bug labels Oct 7, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Dec 14, 2022
Repository owner moved this from In Progress to Done in UTBot Java Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-enhancement New feature, improvement or change request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants