Description
IntelliJ IDEA is generating default Gradle project with separate jupiter-api and jupiter-engine dependencies.
For compiling JUnit5 parametrized tests jupiter-params dependency is needed.
To Reproduce
Steps to reproduce the behavior:
- Run IntelliJ IDEA with UTBot plugin installed
- Open a project with JDK8/11 and some class inside, for example:
public class StringIndent {
public void stringNewMethod(String text, char c, int i) {
if (text.charAt(i) == c) {
System.out.println("found");
}
}
}
- Generate parametrized tests for a method with parameters
Expected behavior
Parameters in the generated parametrized test must have the same names as in the initial method:
String text,
char c,
int i,
Actual behavior
Parameters in the generated parametrized test have names like <type_name>N :
String string,
char char1,
int int1,
Visual proofs (screenshots, logs, images)

Environment
Windows 10 Pro
IDEA Ultimate 2022.1.4
JDK 11
Description
IntelliJ IDEA is generating default Gradle project with separate jupiter-api and jupiter-engine dependencies.
For compiling JUnit5 parametrized tests jupiter-params dependency is needed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Parameters in the generated parametrized test must have the same names as in the initial method:
Actual behavior
Parameters in the generated parametrized test have names like <type_name>N :
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IDEA Ultimate 2022.1.4
JDK 11