flutter-add-integration-test

Configure Flutter Driver and integration_test packages for automated UI testing.

Updated Nov 23, 2025
One-click install
npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill flutter-add-integration-test-manuelbrandner85
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flutter-add-integration-test
Source: https://github.com/manuelbrandner85/Weltenbibliothekapp/tree/main/.agents/skills/flutter-add-integration-test
Command: npx skills add https://github.com/manuelbrandner85/Weltenbibliothekapp --skill flutter-add-integration-test-manuelbrandner85

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 applications, ensuring UI components are correctly wired and functional.

Core Features & Use Cases

  • Interactive Exploration: Use MCP tools to inspect the widget tree and validate interaction paths before writing code.
  • Test Authoring: Provides a structured approach to writing integration tests using the WidgetTester API and Flutter Driver.
  • Use Case: When building a new login feature, use this skill to map the widget keys, simulate user input, and verify the authentication state transition automatically.

Quick Start

Use the flutter-add-integration-test skill to configure the integration test environment and generate a test file for the login screen.

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 UI testing?

Use the integration_test and Flutter Driver packages to enable automated UI testing and verify user flows. This configuration allows you to map widget trees and author suites for end-to-end testing.

What is the best way to automate user flow verification in Flutter?

Automating user flow verification in Flutter is best achieved by mapping the widget tree via MCP tools and simulating user input. This validates interaction paths and verifies state transitions automatically.

Does Flutter integration testing support cross-platform validation for iOS and Android?

Flutter integration testing supports cross-platform validation on Android, iOS, and Web. Configuring the integration_test package ensures your UI components are correctly wired and functional across target environments.

How do I write integration tests using the WidgetTester API in Dart?

Write integration tests using the WidgetTester API by mapping widget keys and validating interaction paths before writing code. This structured approach ensures your Dart integration tests accurately simulate user input.

Can I do performance profiling with Flutter integration tests?

You can perform performance profiling with Flutter integration tests. Configuring Flutter Driver enables performance profiling alongside end-to-end testing, cross-platform validation, and user flow verification.

Why do I need to map the widget tree before writing Flutter UI tests?

Mapping the widget tree before writing Flutter UI tests allows you to explore and validate interaction paths interactively. This ensures you accurately map widget keys to simulate user input and verify state transitions.