close

[Solved] “No tests found for given includes” when running Gradle tests in IntelliJ IDEA

Hello Guys, How are you all? Hope You all Are Fine.

So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How “No tests found for given includes” when running Gradle tests in IntelliJ IDEA Error Occurs?

Today I get the following error “No tests found for given includes” when running Gradle tests in IntelliJ IDEA in java.

How To Solve “No tests found for given includes” when running Gradle tests in IntelliJ IDEA Error ?

  1. How To Solve “No tests found for given includes” when running Gradle tests in IntelliJ IDEA Error ?

    To Solve “No tests found for given includes” when running Gradle tests in IntelliJ IDEA Error You could check if your method is private. Spent a lot of time fixing this dumb mistake …

  2. “No tests found for given includes” when running Gradle tests in IntelliJ IDEA

    To Solve “No tests found for given includes” when running Gradle tests in IntelliJ IDEA Error You could check if your method is private. Spent a lot of time fixing this dumb mistake …

Solution 1

Add to your build.gradle:

test {
    useJUnitPlatform()
}

Solution 2

You could check if your method is private. Spent a lot of time fixing this dumb mistake …

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment