I developed for my application a small suite of Android tests written in Scala that uses the Robotium library. The suite is for all intents and purposes a standard Android JUnit test project and runs successfully if launched from Eclipse.
I've already successfully built and run my main Android application with sbt android-plugin. The main application is located in [ProjectDir]/src/main
. I was also able to successfully build my Android test application that is located in the [ProjectDir]/tests/src/main
directory. I checked the emulator, and the test application appears to have been correctly installed with android-plugin's tests/android:install-emulator
command. However, when I try to run the test project via sbt tests/android:test-emulator
, I get:
...
Test results for InstrumentationTestRunner=
Time: 0.001
OK (0 tests)
How I can get sbt android-plugin to recognize that the project contains JUnit tests and run them?