← Files AutonomARCHIVED FILE

skills/flutter-testing/references/testing-boundaries.md

758 Bytes · Nov 29, 2026 · 01:02 UTC

↓ Download file

# Flutter testing boundaries

- Unit and widget tests own deterministic Dart and rendering behavior.
- `integration_test` owns complete Flutter flows on a real target.
- System UI, permissions, notifications, settings, and some platform views may
  need Patrol, UI Automator, or Espresso in addition to Flutter integration tests.
- A platform channel needs Dart contract tests, native implementation tests, and
  at least one critical end-to-end device path.
- Goldens are environment-sensitive: pin fonts, locale, pixel ratio, surface
  size, and renderer before treating them as stable.

References:

- <https://docs.flutter.dev/testing/overview>
- <https://docs.flutter.dev/testing/integration-tests>
- <https://docs.flutter.dev/testing/plugins-in-tests>

SHA-256: 3556c30e88b9004d065dd712c76de6643922fda25f4a99308f20451a94d2b41a