Flutter/flutter-testing-apps — Agent Skills | officialskills.sh
Back to skills

flutter-testing-apps

communitytesting

Implements unit, widget, and integration tests for Flutter apps.

Setup & Installation

npx skills add https://github.com/flutter/skills --skill flutter-testing-apps
or paste the link and ask your coding assistant to install it
https://github.com/flutter/skills/tree/main/skills/flutter-testing-apps
View on GitHub

What This Skill Does

Implements unit, widget, and integration tests for Flutter apps. Covers ViewModel testing with fake repositories, widget tree verification, plugin platform channel testing, and end-to-end flows on real devices or emulators.

Gives you structured test patterns and platform-specific commands so you don't have to piece together Flutter's scattered testing docs yourself.

When to use it

  • Writing unit tests for a ViewModel that depends on multiple repositories
  • Testing a widget's layout and tap interactions without launching the full app
  • Running integration tests on Android emulators or Firebase Test Lab
  • Adding platform-specific native tests for a Flutter plugin
  • Setting up a test suite for a new feature with fakes instead of mocks