title: Cannot run androidTest in certain module
body: <p>I am having a problem running an androidTest. It cannot locate my tests. The weird thing is, that it's only the case for a certain module. Other modules which I put the test into and configure their build.gradle files eqully are working. Here are some informations. Any help is very appreciated!</p>
  
  <p>The output is as follows:</p>
  
  <pre><code>Running tests
  
  $ adb shell am instrument -w -r   -e debug false -e class my.package.MainActivityTest my.package.module.test/android.support.test.runner.AndroidJUnitRunner
  Client not ready yet..
  Started running tests
  Test running failed: Unable to find instrumentation info for: ComponentInfo{my.package.test/android.support.test.runner.AndroidJUnitRunner}
  Empty test suite.
  </code></pre>
  
  <p>The test is located under </p>
  
  <p><code>myModule/src/androidTest/java/my/package/MainActivityTest.java</code></p>
  
  <p>and looks as follows:</p>
  
  <pre><code>@LargeTest
  @RunWith(AndroidJUnit4.class)
  public class MainActivityTest {
  
      @Rule
      public ActivityTestRule&lt;MainActivity&gt; mActivityTestRule = new ActivityTestRule&lt;&gt;(MainActivity.class);
  
      @Test
      public void thisTestIsntExecuted() {
          assertEquals(1, 2);
      }
  }
  </code></pre>
  
  <p>The modules build.gradle file has the following settings:</p>
  
  <pre><code>android {
      defaultConfig {
          (...)
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
      }
  }
  dependencies {
      (...)
      testImplementation "junit:junit:4.12"
      androidTestImplementation "com.android.support.test.espresso:espresso-core:3.0.1"
      androidTestImplementation "com.android.support.test:runner:1.0.1"
  }
  </code></pre>
  
  <p>Instrumentation runner on device:</p>
  
  <pre><code>instrumentation:my.package.test/android.support.test.runner.AndroidJUnitRunner (target=my.package.module)
  </code></pre>
  
  <p>//edit: I had a closer look at the output from the run command and the instrumentation runner on the device. I forgot to add <code>.module</code> on two places.</p>