title: Android unable to run unit test
body: <p>I'm trying to script out unit test for Android on a Mac. I'm able to get it running via Eclipse, but need to be able to automate everything.</p>
  
  <p>To create the project I'm running </p>
  
  <pre><code>~/workspace$ android create test-project -m ../ -p ROAMpayX/tests -n ROAMPayTest
  </code></pre>
  
  <p>I'm trying to run the following command</p>
  
  <pre><code>adb shell am instrument -w com.roamdata.roampayx/android.test.InstrumentationTestRunner
  </code></pre>
  
  <p>and keep getting the following error (which my AndroidManifest.xml in my test folder gave me)</p>
  
  <blockquote>
    <p>INSTRUMENTATION_STATUS: id=ActivityManagerService
    INSTRUMENTATION_STATUS: Error=Unable to find instrumentation info for: ComponentInfo{com.roamdata.roampayx/android.test.InstrumentationTestRunner}
    android.util.AndroidException: INSTRUMENTATION_FAILED: com.roamdata.roampayx/android.test.InstrumentationTestRunner
    INSTRUMENTATION_STATUS_CODE: -1
        at com.android.commands.am.Am.runInstrument(Am.java:616)
        at com.android.commands.am.Am.run(Am.java:118)
        at com.android.commands.am.Am.main(Am.java:81)
        at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
        at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:235)
        at dalvik.system.NativeStart.main(Native Method)</p>
  </blockquote>
  
  <p>Clearly this is some kind of pathing issue. Is there something that I am missing? I've tried running the command from both the mainproject folder and the testsproject folder.</p>
  
  <p>Any ideas?</p>