¯\_(ツ)_/¯
Go to File
> Open...
> (navigate to build.gradle
) > Open
> Open as Project
> check Use auto-import
> Ok
> voilà!
Any version above Java 11 (i.e: Java 11 Amazon Coretto 11.0.14
) is enough.
There are multiple ways to do it.
- Command Line: Navigate to this project's root folder and run
./gradlew clean test
. - IntelliJ IDEA - All tests: Open up the
Project
tab (Command+1) > right click thesrc/test/java
folder >Run 'All Tests'
. - IntelliJ IDEA - Single test: Right click an individual test class and then
Run
it.