'Run Spring boot unit tests in Intellij
I am working my way through the Spring boot unit test tutorial. To run the unit tests in Intellij, I have selected the "test" folder in the project window and pressed Cntl+Shift+F10 but nothing happens. The application builds fine, but I do not see a run or a debug caret next to the unit test.
I have checked in the sourcecode here. What could I be missing?
"test" folder in the project window:
No run or a debug caret next to the unit test:
Update 1: 4/23/2022:
I set the "test" folder as Test Sources Root, build the application and I am getting "java: error: release version 16 not supported" error. The Project SDK is set to jbr-11, changing it to openkjdk-18 and rebuilding the application throws 100's of errors.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|



