title: How to run unit tests located inside a android module?
body: <p>[Note from the future, 2021, added at the bottom - they shortened the answer]</p>
  <p>Below i have a project with the above structure.</p>
  <p>I can happily run uni tests fine inside the app module but unit tests found on the lib module doesn't get run unless i manually right click DummyDataTest.java inside the lib module and click run unit test inside Android studio.</p>
  <p>Is there a way to automatically run unit tests located in my lib module through command line?</p>
  <p>The existing <strong>command line ./gradlew</strong> testDebug only runs the unit tests located inside the app module.</p>
  <p>Thanks in advance</p>
  <pre><code>JUnitTestProject
      app [module]
           src
               main
                   java
                       de.ivu.junittest.app
                           DummyModel.java
                           ...
                   ...
               test
                   java
                       de.ivu.junittest.app
                           DummyModelTest.java
                   ...
      lib [module]
           src
               main
                   java
                       de.ivu.junittest
                           DummyData.java
                           ...
                   ...
           test
                   java
                       de.ivu.junittest.app
                           DummyDataTest.java
                   ...
  </code></pre>