Setup & Installation
What This Skill Does
Generates Flutter widget tests, integration tests, golden tests, and unit tests in Dart. Covers finder strategies, mocking with Mockito, and visual regression checks. Also supports running integration tests on real devices through TestMu AI cloud via LambdaTest.
Produces correctly structured Dart test files with proper pump calls, finder strategies, and mock setup instead of you writing boilerplate from scratch each time.
When to use it
- Writing widget tests for a new Flutter screen with form inputs
- Adding golden tests to catch visual regressions before a release
- Scaffolding integration tests that cover a full login-to-dashboard flow
- Setting up Mockito mocks for services used in widget tests
- Running Flutter integration tests on real devices via LambdaTest cloud