Android gps unit testing -
i developing android gps-based application.
i have activity implements locationlistener , have implemented logic in onlocationchanged method.
i want make unit test tests activity. want loop array of locations , send them activity onlocationchanged should fire.
i have read couple of answers none of them provided complete solution.
i happy if can explain me how it.
regards,
petar
you use https://play.google.com/store/apps/details?id=ru.gavrikov.mocklocations&hl=en mock location data. can have "mock location" application ruining in background , make sure set fastest interval appropriately in application location updates periodically.
Comments
Post a Comment