Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.2 empty test suite

I have created a new project in Android Studio 3.2. Without making any changes I am not able to run all the unit tests in the group. I receive and error saying No tests were found

No tests were found

I am attempting to run the tests by right clicking on the group and clicking Run Tests.

I can run the unit tests if I open up the file and click on the run button next to the class declaration. I can also run the unit tests if I open the project in Android Studio 3.1.4. I can right click on the group and run all the unit tests with no error.

enter image description here

like image 351
jkistler Avatar asked Sep 25 '18 15:09

jkistler


1 Answers

Looking at this bug report, I think it should be fixed in 3.2.1: https://issuetracker.google.com/issues/115708445#comment12

like image 75
Benoit Avatar answered Nov 13 '22 18:11

Benoit