In Android Studio, it's pretty easy to create a configuration that runs unit tests for a specific module. But is there a way to create a configuration that runs unit tests for all modules?
There are several modules in my specific project (for example, the "main" module and the "library" module). I currently have two configurations: main unit tests and library module tests. This works, but it would be nice if Unit tests ran all my tests.
From the command line, this is trivial - just run it. / gradlew testDebug and all happy. But I can not figure it out from Android Studio. What am I missing here?
Edit: cricket-007 indicates that the gradle command line in Android Studio may allow you to run the testDebug command. This works, but not as fully as the actual configuration. So, the question is how to create a Unit Tests configuration that runs all unit tests from all modules.
source share