flutter-add-integration-test

Configure Flutter Driver and integration_test environments for automated UI testing.

2.8k|166|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/flutter/agent-plugins --skill flutter-add-integration-test-flutter
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-add-integration-test
Source: https://github.com/flutter/agent-plugins/tree/main/skills/flutter-add-integration-test
Command: npx skills add https://github.com/flutter/agent-plugins --skill flutter-add-integration-test-flutter

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of setting up and maintaining end-to-end integration tests in Flutter, reducing the manual overhead of configuring drivers and mapping widget trees.

Core Features & Use Cases

  • Automated Configuration: Streamlines the setup of integration_test and flutter_test dependencies and driver extensions.
  • Interactive Exploration: Leverages MCP tools to inspect widget trees and validate interaction paths before writing static tests.
  • Use Case: When adding a new feature, use this skill to quickly generate the necessary test scaffolding and verify user flows like login or checkout processes.

Quick Start

Use the flutter-add-integration-test skill to configure the current project for integration testing and generate a base test file for the checkout flow.

Frequently Asked Questions about flutter-add-integration-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Flutter integration tests for mobile and web apps?

To set up Flutter integration tests, you need to configure the integration_test package and flutter_test dependencies alongside driver extensions. This skill automates that configuration to enable automated UI testing and performance profiling across platforms.

What is the best way to automate Flutter UI testing workflows?

Automating Flutter UI testing workflows requires mapping widget trees and creating robust test suites using standard Flutter testing APIs. This skill streamlines driver configuration and generates the necessary test scaffolding for validating user flows like login or checkout.

Can I inspect widget trees interactively before writing static integration tests?

Yes, you can inspect widget trees and validate interaction paths interactively before writing static tests. This skill leverages MCP tools to explore UI structures, ensuring accurate test creation for your Flutter applications.

Does this skill support performance profiling for Flutter applications?

Yes, performance profiling is supported by configuring the Flutter Driver and integration_test environments. This setup enables both automated UI testing and performance profiling to ensure application quality and responsiveness.

Do I need to manually configure Flutter Driver extensions to use integration tests?

No, manual configuration of Flutter Driver extensions is not required. This skill streamlines the setup of integration_test dependencies and driver extensions, reducing the manual overhead typically needed to maintain end-to-end tests.