¯\_(ツ)_/¯
Go to File > Open... > (navigate to build.gradle) > Open > Open as Project > check Use auto-import > Ok > voilà!
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
Projecttab (Command+1) > right click thesrc/test/javafolder >Run 'All Tests'. - IntelliJ IDEA - Single test: Right click an individual test class and then
Runit.