Howto: Android Unit Test Bootstrapping in Eclipse
Today we run in some trouble, while trying to “run” our test suites against our android code. So here is a short howto run your tests in eclipse. As example we are going to use the APIDemo tests…
1. Import API Demos to eclipse:
New -> AndroidProject -> Create Project from existing source -> Location: <android-sdk>/platforms/android-1.5/samples/ApiDemos/
2. Test code in APIDemo project:
Take a look at the tests folder in APIDemos android project. The whole test code for APIDemos is located in there.
Tags: android, apps, development, eclipse, IDE, JUnit, mobile, test


Letzte Kommentare