title: Run all unit & instrumentation in all modules Gradle android
body: <p>I have a project and have many modules inside it, and each module has unit tests and instrumentation tests. Every time I run a test I have to set the the target module in the configuration. Which is tiring to do.</p>
  
  <p>Is there any gradle command to run all modules tests in one run?</p>
  
  <p>btw, I can run in terminal this command. But can execute it one by one.</p>
  
  <pre><code>./gradlew module-a:connectedAndroidTest
  ./gradlew module-b:connectedAndroidTest
  ./gradlew module-c:connectedAndroidTest
  </code></pre>
  
  <p>Thanks</p>