Skip to content

Existing test framework should be pre-selected at the very first start #269

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

In case 'current' framework and 'default' framework both not installed we pre-select the installed one (if any)

Fixes #155

Type of Change

  • Usability bug fix (non-breaking small changes)

How Has This Been Tested?

Manual Scenario

  1. Generate some tests with JUnit 4 or TestNG
  2. Shutdown IDE, delete .idea\utbot-settings.xml
  3. Start again, open "Gennerate..." dialog
  4. Existing test framework should be selected (instead of 'default' JUnit 5)
  5. Remove JUnit 4 or/and TestTG library from project dependency (Go to Project Structure > Modules > Depencencies > Remove)
  6. Open "Generate..." dialog, now JUnit 5 is pre-selected again as default.

Checklist (remove irrelevant options):

  • The change followed the style guidelines of the UTBot project
  • Self-review of the code is passed
  • No new warnings

@Vassiliy-Kudryashov Vassiliy-Kudryashov merged commit 05f55b9 into main Jun 21, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov deleted the Vassiliy-Kudryashov/155-existing-test-framework-should-be-pre-selected-at-the-very-first-start branch June 21, 2022 17:16
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.

Existing test framework should be pre-selected at the very first start
2 participants