title: How to get Android Studio to recognize file as source (test)
body: <p>I'm trying to create Robolectric tests for an android project (heck, i'd be happy to even make them unit tests)</p>
  
  <p>I have the folder directory as:</p>
  
  <pre><code>MyApp
      - app
          - src
              - main
                  - java
                      - com.myapp
                          HelloWorld
              - test
                  - java
                      - com
                          - myapp
                              HelloWorldTest.java
  </code></pre>
  
  <p>The problem is that <code>HelloWorldTest.java</code> can't be run because it's not being recognized as source. how do i set it up so that i can run this class as a test?????</p>
  
  <p>if i try to do <code>CMD + SHIFT + T</code> (shortcut for creating tests), it prompts to create the tests under the same directory as my source file and i do NOT want that</p>