Closed
Description
Description
Test framework option is defaulted to JUnit5 on selecting Parametrized - even if used had already changed it to TestNG.
To Reproduce
Preconditions:
- IntelliJ IDEA is running.
- New version of UTBotJava plugin is installed.
- Project with JDK 11 is opened with a class and a public method.
Steps to reproduce the behavior:
- Select Create tests with UTBot..., JUnit 5 is selected by default.
- Select TestNG (available only with JDK 11+)
- 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)
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:
- Select Create tests with UTBot..., JUnit 5 is selected by default.
- Select Parametrized
- Select TestNG (available only with JDK 11+)
- Select Not parametrized
Metadata
Metadata
Assignees
Type
Projects
Status
Done