File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Location-Aware Applications: Testing Strategies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Location-Aware Applications: Testing Strategies" Watch "Location-Aware Applications: Testing Strategies" New topic

Location-Aware Applications: Testing Strategies

Stephen Munro

Joined: Nov 12, 2010
Posts: 3

I'd like to run this by the forum as I've had a lot of trouble finding ways to come up with good solid testing strategies for location apps on a mobile device.
This may boil down to finding the best mock frameworks, but I'm more interested in the workflow that people use:

What would be the best strategy to mock a discovery service for finding locations and returning results?

One of the main issues I have as a J2ME/BlackBerry developer is the strong reliance on an active simulator running. One way I've thought is to isolate the core code into a domain layer and run it in isolation of the emulator (as a standard J2SE JUnit app). The problem with that is that the infrastruture components are part of the device per se and I'm not sure what the approach would be to get round this.

Any thoughts?
Jonshon Christ

Joined: Nov 08, 2012
Posts: 1
I think you can get help from Testing location aware applications
I agree. Here's the link:
subject: Location-Aware Applications: Testing Strategies
It's not a secret anymore!