Skip to content

UI. IDEA plugin dialog. Test framework is reset to JUnit5 on selecting Parametrized #472

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

Closed
alisevych opened this issue Jul 11, 2022 · 0 comments · Fixed by #489
Closed
Assignees
Labels
comp-ui Improvements of plugin UI appearence and functionality ctg-bug Issue is a bug

Comments

@alisevych
Copy link
Member

alisevych commented Jul 11, 2022

Description

Test framework option is defaulted to JUnit5 on selecting Parametrized - even if used had already changed it to TestNG.

To Reproduce

Preconditions:

  1. IntelliJ IDEA is running.
  2. New version of UTBotJava plugin is installed.
  3. Project with JDK 11 is opened with a class and a public method.

Steps to reproduce the behavior:

  1. Select Create tests with UTBot..., JUnit 5 is selected by default.
  2. Select TestNG (available only with JDK 11+)
  3. Select Parametrized

Expected behavior

Test framework doesn't change, there is TestNG - as selected on step 2.

Actual behavior

Test framework is changed to JUnit5.
Test framework field changes it's size.

Visual proofs (screenshots, logs, images)

Dialog Parametrized Test Framework
Field size

Environment

Windows 10 Pro
IntelliJ IDEA 2022.1.3
JDK 11 , Gradle project

Additional context

Same Test framework field reset is done when switching from Parametrized to Not parametrized.

Steps to reproduce the behavior:

  1. Select Create tests with UTBot..., JUnit 5 is selected by default.
  2. Select Parametrized
  3. Select TestNG (available only with JDK 11+)
  4. Select Not parametrized
@alisevych alisevych added ctg-bug Issue is a bug comp-ui Improvements of plugin UI appearence and functionality labels Jul 11, 2022
@korifey korifey moved this to Todo in UTBot Java Jul 11, 2022
@alisevych alisevych changed the title UI. IDEA plugin dialog. Test framework is defaulted to JUnit5 on selecting Parametrized UI. IDEA plugin dialog. Test framework is reset to JUnit5 on selecting Parametrized Jul 11, 2022
@Vassiliy-Kudryashov Vassiliy-Kudryashov moved this from Todo to In Progress in UTBot Java Jul 11, 2022
Repository owner moved this from In Progress to Done in UTBot Java Jul 11, 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-bug Issue is a bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants