Skip to content

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

Closed
@alisevych

Description

@alisevych

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

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