You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
File -> New -> Project... -> Enter name, select Java, Gradle, JDK 8/11, Groovy, click Create
Open build.gradle, check dependencies added by default
When JUnit5 dependency is added by UTBot the 2nd one is added - works fine.
The text was updated successfully, but these errors were encountered:
alisevych
changed the title
JUnit5 params dependency is required for Parametrized tests in default IDEA's Gradle project
JUnit5 params dependency is required in default IDEA's Gradle project
Aug 1, 2022
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
All required dependencies, including params, are added
Actual behavior
ParameterizedTest, MethodSource are not found - Cannot resolve symbol... compilation errors are shown.
Tests cannot be compiled and executed.
Visual proofs (screenshots, logs, images)
Environment
Windows 10 Pro
IDEA Ultimate 2022.1.4
JDK 11
Additional context
To fix the issue:
or
2) add parent dependency, params included
When JUnit5 dependency is added by UTBot the 2nd one is added - works fine.
The text was updated successfully, but these errors were encountered: