Reputation: 133
Is it possible to run some android tests for example: AndroidTestCase without using emulator?
Upvotes: 13
Views: 6167
Reputation: 1010
Or you can use external testing frameworks for that, such as Robolectric.
See also: Best practices for unit testing Android apps
Upvotes: 7
Reputation: 1007584
You need an Android emulator or Android device to run Android APK files, including those APK files that implement AndroidTestCase subclasses used to test other APK file contents.
Upvotes: 5