flutter-testing-apps
Originally fromflutter/skills
Installation
SKILL.md
Testing Flutter Applications
Contents
- Core Testing Strategies
- Architectural Testing Guidelines
- Plugin Testing Guidelines
- Workflows
- Examples
Core Testing Strategies
Balance your testing suite across three main categories to optimize for confidence, maintenance cost, dependencies, and execution speed.
Unit Tests
Use unit tests to verify the correctness of a single function, method, or class under various conditions.
- Mock all external dependencies.
- Do not involve disk I/O, screen rendering, or user actions from outside the test process.
- Execute using the
testorflutter_testpackage.