When I started Android + Scala development, I first tried to use SBT + 
android-sdk-plugin, and I was able to run Robolectric tests.  But I don't 
remember how.

Then I switched to Gradle, and I was able to run the tests, but had to 
change the file layout.

Now, I switched back to SBT, and my tests don't run, due to the classpath 
problem.
There must be some trick.

Maybe I can create a satellite regular project, that doesn't use 
android-sdk-plugin.
It'll be my next approach.

Am Donnerstag, 16. Oktober 2014 01:23:04 UTC+2 schrieb pfn:
>
> Well, right now, the plugin forces all tests to go into androidTest, 
> 'test' and 'android:test' both run out of that directory, the difference is 
> behavior, the latter treats it as an instrumented test run, the former just 
> runs normal jvm tests.
>
> The hard part is getting all the robolectric stuff to be seen, etc.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scala-on-android+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to