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
Test sources root folder out of project can be selected in Maven and IntelliJ projects.
Error is shown and path to the folder is not displayed as chosen.
However if then a valid test sources root is selected and Generate Tests is pressed, IDEA exception is displayed - that illegal folder is chosen
To Reproduce
Run a Maven/IntelliJ project with JDK 8/11 in IntelliJ Idea 2022.1.4
Description
Test sources root folder out of project can be selected in Maven and IntelliJ projects.
Error is shown and path to the folder is not displayed as chosen.
However if then a valid test sources root is selected and Generate Tests is pressed, IDEA exception is displayed - that illegal folder is chosen
To Reproduce
Expected behavior
Tests are supposed to be generated in a valid suggested test sources root.
Actual behavior
IDE Internal error is displayed:
java.lang.IllegalStateException: Could not find module for file://<path to the selected project from step#4>
Visual proofs (screenshots, logs, images)
Environment
WIndows 10 Pro
IntelliJ IDEA 2022.1.4
Maven / IntelliJ
JDK 8 / 11
The text was updated successfully, but these errors were encountered: