Hi all,
I’ve included test suite class to execute my tests using Gradle. Something like:
test {
include '**/AllTests.class'
}
This works fine when executing ‘gradle test’ from CLI, but when I try to execute certain test class from IntelliJ using Ctrl+Shift+F10, it throws:
No tests found for given includes: [**/AllTests.class]
I don’t want to change setting to run tests using IntelliJ in Settings → Build, Execution, Deployment → Gradle → Run tests using : IntelliJ IDEA, since I can achieve the desired behavior in Maven using maven-surefire-plugin includes.
Any help would be greatly appreciated.