Patrol is a new testing framework for Flutter. It builds on top of Flutter's testing tools to let you do things which were previously impossible.

Patrol lets you access features of the platform that the Flutter app is running on. For example, you can go to the home screen, rotate the device, and then go back – and you can code this very easily in Dart.

Patrol also provides a new custom finder system that extends Flutter's default finders. Patrol's custom finders make writing Flutter widget tests dramatically faster, easier, and more fun!

Patrol is an open-source project which is being developed and maintained by us – LeanCode! It is still in active development and hasn't reached 1.0 yet, but we already use it to test production apps.