title: Android Studio / Gradle test folder naming convention
body: <p>I've seen a lot of tutorials and helper projects for doing testing on an Android Studio / Gradle project. I'm curious about the naming convention of the the test folder. I've seen two similar namings : <code>test</code> and <code>androidTest</code>. Is there any real difference? Is the IDE / Gradle framework treating these differently?</p>
  
  <ul>
  <li>app
  <ul>
  <li>src
  <ul>
  <li>androidTest
  <ul>
  <li>java</li>
  </ul></li>
  <li>main
  <ul>
  <li>java</li>
  <li>res</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>versus</p>
  
  <ul>
  <li>app
  <ul>
  <li>src
  <ul>
  <li>test
  <ul>
  <li>java</li>
  </ul></li>
  <li>main
  <ul>
  <li>java</li>
  <li>res</li>
  </ul></li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>EDIT:</p>
  
  <p>@jonalmeida So if I read that documentation correctly, my <code>build.gradle</code> file dependencies need to match the sourceSet, right?</p>
  
  <pre><code>dependencies {
      // dependency injection
      compile 'com.squareup.dagger:dagger:1.2.1'
      provided 'com.squareup.dagger:dagger-compiler:1.2.1'
  
      // networking
      compile 'com.squareup.retrofit:retrofit:1.6.1'
  
      // testing
      androidTestCompile 'org.easytesting:fest:1.0.16'
      androidTestCompile 'junit:junit:4.+'
      androidTestCompile 'org.robolectric:robolectric:2.3'
      testCompile 'com.squareup:fest-android:1.0.8' // &lt;---- this guy won't work 
  }
  </code></pre>