Testing how a navigation app handles a wrong turn usually means one of two things: driving a route with a real phone, or writing scripts against each platform's mock-location API. We built a tool to replace both.
Wayfarer is a Python tool, built at TestDevLab, that feeds mock GPS to Android and iOS test devices through a single browser interface. It is for anyone testing apps that react to location, movement, speed, or rerouting: navigation, ride-hailing, fleet tracking, delivery ETAs, or geofencing.
TL;DR
30-second summary
How do you test location-aware apps without driving a real route?
Wayfarer is a Python GPS simulator, built at TestDevLab, that feeds mock locations to Android and iOS test devices through a single browser interface, so teams can reproduce location scenarios on demand.
- Wayfarer replaces real drives and per-platform mock-location scripts. It covers Android emulators and phones, the iOS Simulator, and physical iPhones from one interface, and it also has full CLI support for automated pipelines. It suits any app that reacts to location, movement, speed, or rerouting, including navigation, ride-hailing, fleet tracking, delivery ETAs, and geofencing.
- The stack combines open map data with a playback server. Roads come from OpenStreetMap, routes from OSRM or Google Directions, and traffic simulation from SUMO. The server plays each route back in time and sends positions about every 5 meters, so a fast drive looks like driving instead of teleporting.
- Draw mode and scenario files make mistakes testable. A standard router never lets a driver take a wrong turn, so Wayfarer can follow a hand-drawn path with no router involved. Scenario files also inject wrong turns, GPS drift, congestion zones, and live-traffic reroutes into a drive.
- Every drive is a repeatable, reviewable scenario. Routes, speeds, wrong turns, and traffic jams are saved as small JSON files that replay headlessly on any device and can be reviewed in a pull request. Each run exports latency percentiles, speed statistics, and jam dwell times, and Wayfarer can publish telematics data over MQTT.
- Software and hardware GPS simulation test different layers. Software simulation answers what the app does with a location, while hardware GNSS simulation tests whether the device can find, hold, and trust a position. Many teams use software for breadth and regression, and hardware for a smaller set of receiver-level checks.
Bottom line: Location bugs show up on a missed turn, a late geofence, or an unexpected reroute, not at a desk. Wayfarer lets teams reproduce those moments from a single scenario file, and hardware GNSS testing covers what software simulation cannot.
Industries and products that need GPS testing
Anything that reacts to where a device is needs GPS testing, and the list is longer than navigation.
- Automotive: In-car navigation, infotainment, and telematics control units (TCUs) that report a vehicle's position to a backend.
- Fleet management and logistics: Vehicle tracking, route adherence, delivery ETAs, and proof of delivery.
- Ride-hailing and mobility: Driver and rider matching, pickup accuracy, fare estimates, and micro mobility apps such as scooters and bikes.
- Insurance: Usage-based insurance apps that score driving from location data.
- Public safety and utilities: Emergency and SOS apps, field-service dispatch, and asset tracking.
- Retail, travel, and consumer apps: Geofenced offers, store locators, maps, fitness tracking, and any "near me" feature.
- IoT and wearables: GPS trackers, smartwatches, and connected devices that report position.
Across these industries, the products that need GPS testing are navigation apps, fleet tracking platforms, delivery and ride-hailing apps, geofencing features, telematics units and their backends, and location-aware mobile apps in general.
The failures are familiar: a missed turn, a wrong ETA, a geofence that fires late, or a reroute triggered by ordinary signal noise.
Simulating the location with a tool like Wayfarer makes those cases testable on demand, without sending anyone out to drive. Devices that cannot take a simulated location, such as many trackers, need hardware GNSS simulation, covered below.
Why we built Wayfarer
On a previous GPS testing project, I used an external tool to push locations to a phone. It worked, but it wasn't ours. We couldn't automate it, adapt it, or make it a standard across TestDevLab.
I knew what we needed, but the project sat in the back of my mind for years. Seeing what Claude Code could unlock was the turning point I needed to finally build it.
The result is Wayfarer, TestDevLab’s own GPS testing tool. It gives us full control to add features like automated route creation, Google API integrations, and live rerouting as projects demand them. Plus, with full CLI support alongside the UI, it plugs seamlessly into automated testing pipelines.
How the stack works
Wayfarer connects open map data and open tools to a real device. Roads come from OpenStreetMap. Routes come from OSRM, or from Google Directions when a project needs Google's routing and live traffic. For traffic simulation, the road data goes into SUMO, which runs background vehicles on the same roads and produces a realistic trajectory for the test vehicle.

The Wayfarer server, a Python application with no third-party dependencies in its core, takes the route or the simulated trajectory and plays it back in time. A device layer then sends each position to the target: Android emulators and phones through adb and a mock-location provider, the iOS Simulator through Xcode's tools, and physical iPhones through pymobiledevice3.
SUMO and pymobiledevice3 are optional. Without them, traffic simulation and physical iPhones are unavailable, and everything else keeps working.
Device control
Wayfarer can put a device anywhere on the map, from a single coordinate to a saved favorite. It covers four device environments through one interface: Android emulators and phones, and iOS simulators and iPhones. It also reads and writes GPX files, so routes move in and out of other tools.
Routes and playback
A drive starts with two points. Wayfarer finds the road route between them using OSRM, Google Directions, or a straight line, and supports via points to force specific streets. Routes can also be reshaped live.
Every leg can have its own speed, fast on the highway and slow through the city center, anywhere from 1 to 300 km/h. Playback controls include pause, resume, seek, and loop or ping-pong modes.

Playback behaves like a real drive:
- It runs server-side, so it keeps going if the browser tab closes.
- It follows the clock. A lagging device lowers the update rate, but never the simulated speed or position.
- Updates are paced by distance, about every 5 meters, so a fast drive looks like driving instead of teleporting.
Wrong turns and draw mode
A standard road router never lets a driver make a mistake. Asked to backtrack through a point behind it, it plans a legal loop instead, which is the opposite of what an off-route test needs.
So Wayfarer has a draw mode. The points placed on the map become the path, joined by straight segments with no router involved. On the same six points, an auto-routed drive measures 6.20 km across 351 points (the backtrack smoothed into a legal loop), while the drawn path measures 1.42 km across 6 points and does double back.


For a mistake in the middle of a drive, a scenario file can inject a wrong turn. The drive follows the plan up to a set fraction of the route, then follows a real route to a point off the plan. Once it has covered enough distance that a navigation app would notice, Wayfarer reroutes back to the original destination.
"wrongTurn": {
"atFraction": 0.4,
"point": {"lat": 56.96, "lon": 24.09},
"recoverAfterM": 300,
"profile": "driving"
}GPS drift injection
Real GPS wobbles. Wayfarer can inject GPS drift into a drive, which checks that an app does not panic-reroute over ordinary signal noise.
Traffic simulation
For traffic, Wayfarer runs a microscopic traffic simulation using SUMO on real OpenStreetMap roads. Background vehicles react individually, so the test vehicle queues at traffic lights and sits in jams that emerge from the simulation, not from a scripted slow-down. Positions are output every half second.

In the image: Simulated congestion.
To keep long trips practical, the simulation downloads a chain of small overlapping tiles along the route (about 1.3 km wide) instead of one large bounding box. For a 27 km cross-city drive, this cuts the area from about 360 km² to about 60 km².
A congestion zone can also make the vehicle crawl through it instead of routing around it, which simulates an actual jam. The crawl can be generated automatically from Google's live traffic data, so the simulator matches real-world congestion without anyone drawing a circle on a map by hand.
Rerouting triggers
Several triggers can send a driver somewhere new mid-trip without restarting the drive:
- Manual: A "Reroute from here" button.
- Congestion zones: When the vehicle enters a marked zone, Wayfarer places a detour wide of it and reroutes around it back to the destination. Each zone triggers once per drive. This is a simple heuristic, not a router that avoids polygons.
- Live traffic: Wayfarer re-queries Google Directions at a set distance interval, with departure_time=now so live conditions count, the way a real navigation app does.
Repeatable scenarios and reports
Every route, speed, wrong turn, or traffic jam is saved as a small JSON scenario, so the same drive can be replayed headlessly on any device and reviewed in a pull request like code. Scenarios can also be generated in bulk, and every run exports a report with latency percentiles, speed statistics, and jam dwell times.
Telematics over MQTT
Wayfarer can also publish live position data over MQTT. This makes it possible to simulate a vehicle's telematics control unit (TCU) reporting its location to a backend, without real hardware on a bench.
Software or hardware GPS simulation: What works where
There are two ways to feed a device a location it is not at. Software simulation (Wayfarer) tells the OS where the device is. Hardware simulation, using a GNSS simulator like LabSat, feeds the device's GPS receiver simulated satellite signals. They test different layers:
| Software simulation (Wayfarer) | Hardware GNSS simulation (LabSat-class) | |
|---|---|---|
| What it fools | The operating system's location API | The device's GNSS receiver via RF signals |
| Best for | App logic: navigation, rerouting, geofencing, ETAs, ride-hailing, fleet tracking | Chipset behavior, signal loss, multipath, or devices that reject software locations |
| Setup | A laptop and test devices on a desk or in CI | Lab space, RF connections, and a simulator per bench |
| Blind spots | Doesn't exercise the receiver. Apps that block simulated locations may react | Not suited for high-volume app regression testing |
If the question is what the app does with a location, software simulation answers it faster and cheaper. If the question is whether the device can find, hold, and trust a position, only hardware can answer it.
Many teams use both: software for breadth and regression across many scenarios, and hardware for a smaller set of receiver-level checks.
Don’t let your device lose its position in the field
TestDevLab’s location testing lab simulates GNSS satellite signals in a controlled faraday cage setup, so you can see how your app and devices behave before users do. Our engineers test on real devices and deliver a detailed bug report with recommendations for next steps.
Barko analysis and validation
Wayfarer makes the drive repeatable. Barko, TestDevLab's QA agent, adds the other half: validating the turns.
We checked turns two ways, on an ESP32 OLED turn-by-turn navigation display and in a phone navigation app, and Barko compared the two and summarized the differences. In our Riga drive, that covered 51 video segments.
- 24 segments: The display and the phone matched exactly.
- 21 segments: The display led the phone by 0.25 seconds (once by 0.5).
- 5 segments: Status-screen interruptions hid the arrow.
- 1 segment: Unreadable and excluded.
The ESP32's own 78-row log of GPS fix, maneuver, and distance gave an independent record to cross-check.
Because one scenario file reproduces a wrong-turn or congestion case on demand, a manual field drive can become a scripted regression. Barko flags drift and hidden-guidance screens, and the output is evidence that can be attached to a ticket or shown to a client: a documented answer to whether the device guides the driver correctly after a firmware or app change.
Test location-aware apps without the drive
Location bugs rarely show up at a desk. They show up on a missed turn, a late geofence, or a reroute nobody expected. Wayfarer lets teams reproduce those moments on demand, on Android and iOS, from a single scenario file, and Barko helps confirm that the device or app responded correctly.
Software simulation won’t replace hardware GNSS testing for receiver-level checks, but for app logic, regression, and CI, it removes the need to drive. And because Wayfarer is built in-house, we can adapt it to your devices, routes, and test pipeline.
FAQ
Most common questions
What is Wayfarer?
Wayfarer is a Python tool, built at TestDevLab, that feeds mock GPS to Android and iOS test devices through a single browser interface. It is for anyone testing apps that react to location, movement, speed, or rerouting, such as navigation, ride-hailing, fleet tracking, delivery ETAs, and geofencing. It also has full CLI support, so it plugs into automated testing pipelines. Because TestDevLab built it in-house, features like automated route creation and live rerouting can be added as projects need them.
How do you test a GPS app without driving?
Use software simulation to tell the device's operating system where it is, then play back a route in time. Wayfarer does this by finding a road route between two points, sending each position to the target device, and pacing updates by distance so the drive behaves like a real one. Teams can set the speed of each leg, pause or seek, and inject wrong turns, GPS drift, and traffic. Saved scenario files then replay the same drive on any device.
How do you simulate a wrong turn or GPS drift in testing?
A standard road router never lets a driver make a mistake, so Wayfarer offers a draw mode where the points placed on the map become the path, joined by straight segments with no router involved. For a mistake mid-drive, a scenario file can inject a wrong turn at a set fraction of the route and reroute back to the destination after enough distance. GPS drift injection adds the kind of ordinary signal wobble real devices produce. This checks that an app does not panic-reroute over normal noise.
What is the difference between software and hardware GPS simulation?
Software simulation, such as Wayfarer, tells the operating system's location API where the device is, which suits app logic like navigation, rerouting, geofencing, ETAs, and fleet tracking. Hardware simulation, using a GNSS simulator such as LabSat, feeds the device's GPS receiver simulated satellite signals. It suits chipset behavior, signal loss, multipath, and devices that reject software locations, such as many trackers. Software is faster and cheaper for high-volume regression, and many teams use both.
Which industries and products need GPS testing?
Anything that reacts to where a device is needs it. That includes automotive navigation, infotainment, and telematics control units, fleet management and logistics, ride-hailing and micro mobility, and usage-based insurance apps. It also covers emergency and field-service apps, geofenced retail and travel features, fitness tracking, and IoT devices and wearables that report position. Typical failures are a missed turn, a wrong ETA, a geofence that fires late, or a reroute triggered by signal noise.
Want to test how your app handles location, movement, and rerouting?
We combine purpose-built tooling like Wayfarer with testing on real Android and iOS devices, and we can customize the tool to fit your setup. Talk to our team about your scenarios.




