
Flutter add integration test
Sets up Flutter integration tests and turns MCP-driven UI exploration into repeatable
Flutter add integration test is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 3.2K
- Last commit
- License
- BSD-3-Clause
- Listing updated
Similar skills
About Flutter add integration test
This skill walks an agent through adding the integration_test package and Flutter Driver extension to a Flutter project, then using the Dart/Flutter MCP server to launch the app, inspect the widget tree and drive taps, text entry and scrolling. Flows explored that way are meant to be saved as permanent test files in an integration_test directory, with a host driver script under test_driver.
The guidance covers writing WidgetTester-based tests with ValueKey targeting, settling animations, scrolling off-screen items into view, and recovering from timeouts or missing widgets. It also includes the legacy flutter_driver API for older suites, and commands for running tests on Chrome, headless web, local Android and Firebase Test Lab, plus an optional performance profiling driver.
The skill expects a Flutter project with pubspec.yaml access, the Dart/Flutter MCP server for the interactive steps, and chromedriver when targeting Chrome.
When your agent uses it
Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Use when adding integration testing to a project, exploring UI components via MCP, or automating user flows with the integration_test package.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- License: BSD-3-Clause(see the files on GitHub)
From a static check of its 1 file (7 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the dart-flutter plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add flutter/agent-plugins
/plugin install dart-flutter@dart-flutterOr copy only this skill to ~/.claude/skills/flutter-add-integration-test:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flutter/agent-plugins.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/flutter-add-integration-test &&
cp -R "$tmp/skills/flutter-add-integration-test" ~/.claude/skills/flutter-add-integration-test &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/flutter-add-integration-test inside it instead.
Copy the skill folder to ~/.agents/skills/flutter-add-integration-test to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flutter/agent-plugins.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/flutter-add-integration-test &&
cp -R "$tmp/skills/flutter-add-integration-test" ~/.agents/skills/flutter-add-integration-test &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/flutter-add-integration-test inside it instead.
Copy the skill folder to ~/.cursor/skills/flutter-add-integration-test to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flutter/agent-plugins.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/flutter-add-integration-test &&
cp -R "$tmp/skills/flutter-add-integration-test" ~/.cursor/skills/flutter-add-integration-test &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/flutter-add-integration-test inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/flutter/agent-plugins.git --path skills/flutter-add-integration-testOr copy the folder to ~/.gemini/skills/flutter-add-integration-test yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/flutter-add-integration-test:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/flutter/agent-plugins.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/flutter-add-integration-test &&
cp -R "$tmp/skills/flutter-add-integration-test" ~/.copilot/skills/flutter-add-integration-test &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/flutter-add-integration-test inside it instead.
Get the folder:
git clone --depth 1 https://github.com/flutter/agent-plugins.gitThen copy agent-plugins/skills/flutter-add-integration-test into your agent's skills folder as flutter-add-integration-test. Agents that support SKILL.md read one folder per skill.
What it does
- Test dependency setup
- Adds integration_test and flutter_test as Flutter SDK dev dependencies and enables the Flutter Driver extension in the entry point.
- MCP interactive exploration
- Uses MCP tools to launch the app, read the widget tree and run taps, text entry and scrolls before writing tests.
- WidgetTester test authoring
- Guides creation of integration test files with binding setup, pumping, finders and visibility assertions.
- Scroll and wait handling
- Covers scrollUntilVisible, pumpAndSettle and recovery steps for lazily loaded or animated widgets.
- Multi-platform test execution
- Provides flutter drive commands for Chrome, headless web, Android and Firebase Test Lab.
- Performance profiling driver
- Includes a driver script for capturing timeline metrics around actions wrapped in traceAction.
Good for
- Set up integration testing in a Flutter app
- Record a login flow through MCP and save it as a test
- Write a test that taps a button and checks the counter
- Run integration tests on Chrome or an Android emulator
- Profile scrolling performance in a Flutter screen
Flutter add integration test FAQ
What does the skill need before Flutter add integration test runs?
It expects a Flutter project with a pubspec.yaml and, for the interactive steps, the Dart/Flutter MCP server. Chrome runs also need chromedriver on port 4444.
Does Flutter add integration test change my app code?
It adds the Flutter Driver extension call to the entry point and recommends adding ValueKey parameters to critical widgets.
Can Flutter add integration test test legacy flutter_driver suites?
Yes. The skill includes guidance for maintaining or migrating legacy flutter_driver tests using driver.waitFor, tap and scroll.
Where do the test files go?
Test files go in an integration_test directory at the project root, with a host driver script in test_driver/integration_test.dart.
How do I install Flutter add integration test in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/flutter-add-integration-test to use it in all your projects, or to .claude/skills/flutter-add-integration-test in one project. Or install the dart-flutter plugin, which includes it: /plugin marketplace add flutter/agent-plugins, then /plugin install dart-flutter@dart-flutter.
Does Flutter add integration test run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Flutter add integration test?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Flutter add integration test?
The closest alternatives to Flutter add integration test are Flutter add widget test, Flutter testing skill, Dart add unit test, Dart generate test mocks and Webapp testing.
Where this comes from
- Description: from the skill's own SKILL.md.
More from flutter/agent-plugins

Guides your agent to write and organize Dart and Flutter unit tests with package:test
- Open source
- 3.2K GitHub stars
- Developer tools

Guides the agent to write Flutter widget tests with WidgetTester for taps, scrolling
- Open source
- 3.2K GitHub stars
- Developer tools

Teaches agents to write Dart unit tests with generated Mockito mocks via build_runner
- Open source
- 3.2K GitHub stars
- Developer tools

Review Dart or Flutter API code against canonical API design principles
- Open source
- 3.2K GitHub stars
- Developer tools

Write clear docstrings, dartdoc and JSDoc for Dart, Python and TypeScript
- Open source
- 3.2K GitHub stars
- Files and documents

Run a multi-step pull request or local diff review with critique and synthesis
- Open source
- 3.2K GitHub stars
- Developer tools


