Skip to content

Remember Test Sources root choice and suggest as default #1010 #1519

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

Conversation

Vassiliy-Kudryashov
Copy link
Member

Description

Persist the history of recent used source roots to suggest them somewhere on the top of the list.

Fixes #1010

Type of Change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

See org.utbot.intellij.plugin.ui.utils.RootUtilsTest

Manual Scenario

  1. Open a project with several modules with several test source roots in each.
  2. Generate some tests for the first module (select not-default source root).
  3. Generate soem tests for the second module (select not-default source root there too).
  4. Call "Generate" action for the first module. The module selected in 2. should be preselected.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • The change contains enough commentaries, particularly in hard-to-understand areas
  • No new warnings
  • New tests have been added

@Vassiliy-Kudryashov Vassiliy-Kudryashov enabled auto-merge (squash) December 15, 2022 08:42
@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit b9fc3da into main Dec 15, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/1010-remember-test-sources-root-choice-and-suggest-as-default branch December 15, 2022 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remember Test Sources root choice and suggest as default
2 participants