---
title: "Lastmile CLI: using a CLI to supercharge exploratory testing"
description: "Lyft Bikes and Scooters' approach to end-to-end exploratory testing of hardware-dependent flows went through four stages."
url: "https://swe.quest/articles/lastmile-cli-using-a-cli-to-supercharge-exploratory-testing-24c75aa1d7427f82"
canonical: "https://eng.lyft.com/lastmile-cli-simulate-all-the-things-87928bce29ec"
source: "Lyft Engineering"
published: "2021-09-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 7
tags: ["testing","developer-tools","developer-productivity"]
---

# Lastmile CLI: using a CLI to supercharge exploratory testing

A post on [Lyft Engineering](https://swe.quest/sources/lyft.md), published 2021-09-02, 7 min read, Case study. Original: [https://eng.lyft.com/lastmile-cli-simulate-all-the-things-87928bce29ec](https://eng.lyft.com/lastmile-cli-simulate-all-the-things-87928bce29ec)

## Summary

Lyft Bikes and Scooters' approach to end-to-end exploratory testing of hardware-dependent flows went through four stages. First came a physical "station in a box" tied to production. Then a station simulator that was too complex to set up, then one-off Python CLIs that faked legacy webhooks but required knowing internal implementation details and hand-typing IDs and coordinates. The team finally built lastmile-cli on top of Lyft's interactive TypeScript lyft-dev-cli. It runs locally, polls ride state and offers only valid next actions, and auto-gathers test data like no-parking-zone coordinates. The takeaway is that investing in tooling that simplifies getting systems into a testable state often pays off more than automating end-to-end tests, and here it also let PMs and designers test in staging.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Testing](https://swe.quest/tags/testing.md) (Engineering practices)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Developer productivity](https://swe.quest/tags/developer-productivity.md) (Engineering practices)

## Keywords

Lastmile CLI, lyft-dev-cli, Lyft Bikes and Scooters, Motivate

## Related posts

- [How AI-assisted development helped us build the new Dropbox experience](https://swe.quest/articles/how-ai-assisted-development-helped-us-build-the-new-dropbox-experience-87aa82f0afa45830.md): Dropbox Tech · 2026-11-05 · Easy · 8 min read · AI for coding, Frontend, React, Accessibility, Testing
  Dropbox shipped its new AI-powered experience on a fixed launch deadline by using AI coding agents to handle integration, accessibility and test work.
- [Building an End to End load test automation system on top of Kubernetes](https://swe.quest/articles/building-an-end-to-end-load-test-automation-system-on-top-of-kubernetes-7beb3707dbd053ca.md): Zalando Engineering · 2021-03-01 · Medium · 9 min read · Testing, Performance engineering, Kubernetes, Payments & fintech, Capacity planning
  Zalando's payments team built an automated end-to-end load testing system in its Kubernetes test cluster.
- [How we raised mobile end-to-end test stability to 98%](https://swe.quest/articles/how-we-raised-mobile-end-to-end-test-stability-to-98-ca68fcd3c9f171ff.md): Shopify Engineering · 2026-08-12 · Medium · 6 min read · Testing, Mobile, CI/CD, Computer vision, React
  Shopify rebuilt its mobile end-to-end test framework as an opinionated wrapper over Appium, raising test stability from 50% to 98% and returning the suite to blocking PR checks.
- [How we migrated our acceptance tests to use Synthetic Monitoring](https://swe.quest/articles/how-we-migrated-our-acceptance-tests-to-use-synthetic-monitoring-2bb2c26bbe1e995a.md): Datadog Engineering · 2023-06-30 · Medium · 8 min read · Testing, CI/CD, Developer productivity, Frontend
  Datadog's Frontend Developer Experience team replaced a flaky, hand-scripted Puppeteer acceptance test suite (565 tests, 100k lines, 6 CI jobs, 35 machine-minutes per commit) with recorded Synthetic Monitoring tests run from CI via a new CLI, synthetics-ci, later generalized into datadog-ci.
- [Mobile Developer Experience at Slack](https://swe.quest/articles/mobile-developer-experience-at-slack-f2b2b79d74a881fd.md): Slack Engineering · 2022-10-12 · Medium · 14 min read · Developer productivity, Mobile, CI/CD, Testing, Build systems
  A dedicated mobile Developer Experience team grew from 3 to 8 engineers and cut CI feedback time and failure rates by targeting the pain points that surveys, NPS and metrics like time to merge showed hurt developers most. iOS test time fell from about 50 minutes to an average of 9 by moving from Xcodebuild to Bazel with disk caching and bazel-diff, so only affected targets are tested.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
