Skip to content Skip to sidebar Skip to footer

Cannot Run Junit Tests From Idea 13.0 Ide For Imported Gradle Projects

I have a Gradle project containing some java modules and one android module. Every thing seems working fine, the project builds and deploys on Android devices. But, I have a major

Solution 1:

Jetbrains support team confirmed to me that this is a major bug and should be resolved by the next release 13.0.1. The release date is not defined yet.

The issue is caused by the Android-Gradle project.

Solution 2:

Prior to run tests from IDEA just invoke cleanup by running "clean" task from Gradle. Hope this helps.

Solution 3:

I got this same error when I didn't put my Java code in the expected default locations: src/main/java and src/test/java. Once I fixed that, I could run tests from IDEA or the commandline.

Post a Comment for "Cannot Run Junit Tests From Idea 13.0 Ide For Imported Gradle Projects"