Setup & Installation
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