Danilo C.
Danilo C.

Reputation: 314

How to run Android test for all flavors in Android Studio

I need to run Android test for all flavors in Android Studio.

Having a test (ApplicationTest instrumentation) and Android Studio allows me to run it for selected flavor. I have a lot of flavors (250) so I need to somehow say it to run for every flavor or something like that, and leave it to run one after other.

Upvotes: 2

Views: 1298

Answers (1)

zmarkan
zmarkan

Reputation: 615

You can run the connectedAndroidTest gradle command - either from the command line or in the right hand side gradle menu - it should be under 'verification' tab.

Upvotes: 2

Related Questions