flutter-tester
Installation
SKILL.md
Flutter Tester
Overview
This skill provides comprehensive guidance for writing consistent, reliable, and maintainable tests for Flutter applications. Follow the testing patterns, mocking strategies, and architectural guidelines to ensure tests are isolated, repeatable, and cover both success and error scenarios. This skill works with any Flutter project using common packages like Riverpod, Mockito, and flutter_test.
When to Use This Skill
Use this skill when:
- Creating new unit tests for repositories, providers, DAOs, or services
- Writing widget tests for UI components and views
- Setting up mocks and test dependencies with Mockito and Riverpod
- Implementing Given-When-Then test structure
- Testing state management with Riverpod providers
- Writing integration tests for multi-layer workflows
- Debugging or fixing existing tests
- Ensuring proper test coverage across data, domain, and presentation layers