Skip to content
pubscout

fluttersdk_dusk

0.0.23, released 13 days ago by fluttersdk.com

Flutter E2E test driver for LLM agents and CLI via VM Service extensions without a test harness.

$ flutter pub add fluttersdk_dusk
Source repository

What it does

Provides 41 CLI commands and 39 MCP tools to drive a running Flutter application over VM Service extensions. It snapshots semantics trees, captures screenshots, and performs gestures without needing a traditional flutter_test harness.

AI-written summary of version 0.0.23, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want AI agents to interact with and test your running Flutter application.
  • You need unscripted end-to-end automation via CLI commands or Model Context Protocol tools.

Skip it when

  • You are writing traditional unit or widget tests using the flutter_test harness.
  • You are running production builds (dusk is debug-only and tree-shaked in release).

Strengths

  • Hot-restart safe and does not require separate test files.
  • Bridges human CLI workflows and AI agent MCP tool calls using the same contracts.
  • Features a 6-step actionability gate and stable ref system for reliable element targeting.

Weaknesses

  • Debug-only tool that must be explicitly guarded against release builds.
  • Requires proper lifecycle and platform setup (like VM Service extension wiring).

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
5

Run flutter pub add fluttersdk_dusk followed by dart run fluttersdk_dusk dusk:install, then wrap DuskPlugin.install() in !kReleaseMode in lib/main.dart.

flutter pub add fluttersdk_dusk
dart run fluttersdk_dusk dusk:install

Alternatives

Packages that do the same job and could replace fluttersdk_dusk.

  • test

    Choose the standard test package when you want to write traditional unit, widget, or integration tests with standard test runners.

Works with

Packages commonly used together with fluttersdk_dusk: ones it builds on, ones built on it, and its own family.