

Or I'm not setting the Gradle test properly (screenshot below)? I suspect that it isn't running the annotated function prior to running the actual tests functions. Now the issue is that all unit tests fail when I run it via Gradle. Test (core, runner and rules): androidx.test:core/runner/rules:1.3.0.Crashlytics: :firebase-crashlytics-gradle:2.6.1.So I decided to roll everything back and start from scratch. I wonder if anyone out there has come across this issue and was able to resolve? No tests found for given includes: :signup.SignupViewModelTest After some investigation I found out that newer versions of AS will no longer recognize JUnit configurations.Īs you can see in the screenshots below there is no way to run those tests as I normally would:Īnd this one is from Run/Debug Configurations where the JUnit tests are under the unknown category:įinally, I did create a gradle config to test but it just says on the left side:Įxecution failed for task 'features:signup:testDevDebugUnitTest'.

So here's the problem, after loading the project, updating some SDKs/libraries I was able to build and run no problem, however, when I went to run the unit tests I noticed that all test classes were no longer recognized by the IDE.
#Android studio arctic fox android#
I've recently installed Android Studio Arctic Fox v2020.3.1 Beta 2 to be able to use Jetpack Compose in our project since I wasn't able to do so back on AS 4.2.1 because Compose was throwing a strange build error that got fixed on Arctic Fox.
