
About Patrol
Patrol is an end-to-end UI testing framework for Flutter apps. It extends Flutter's built-in integration testing so tests can also handle native features such as permission dialogs and notifications.
What it does
Patrol tests are written in plain Dart. Tests can tap through system permission prompts, work with notifications and web views, and change some device settings, such as turning Wi-Fi on or off. Each test runs in isolation, and tests can be split across shards. Logs appear in real time while tests run. A DevTools extension helps inspect views on Android and iOS.
Key features
- Interact with permission dialogs and notifications
- Change device settings during a test
- Test isolation and sharding between tests
- DevTools extension to inspect on-screen views
Who it's for
Flutter developers and mobile QA teams that need tests of real device behavior, not only the widgets inside the app. It suits projects that run tests on device farms.
Pricing and good to know
Patrol is open source under the Apache-2.0 license, according to its repository. The site says it works with device farms such as Firebase Test Lab and BrowserStack. It is developed by LeanCode, a Flutter development company, and the homepage also promotes a paid webinar.
Highlights
- Interact with permission dialogs and notifications
- Change device settings during a test
- Test isolation and sharding between tests
- DevTools extension to inspect on-screen views












