Search code examples
androidgeolocationfunctional-testing

Android functional test; send geo location to emulator


Our android application is getting fairly big and we would like to use functional tests for our application to prevent regression. We are looking in to options to achieve this.

We make use of geo locations, so now we test the app by entering lat/long in DDMS. If we want to test this, it should be possible to set these geo locations programmatically.

Is there a framework that we can use to functional test our android app and also send these updates to our emulator?


Solution

  • I am facing the same problem. While this solution is not built into robotium, you should be able to make it into a utility that can be used in your unit tests.

    Unit Testing Location Service