Session

Reimagining Flutter UI tests with Patrol

Flutter UI integration testing can be really cumbersome, especially in a mobile app that depends also on the native side features. Unfortunately, Flutter integration test fail when a native permission dialog appears or we'd like to interact with some native platform view. We experienced the same blocking issues while testing apps that we develop at LeanCode.

That's why we created Patrol - an open-source framework for testing Flutter apps - developed by LeanCode. With Patrol you can write your UI tests in Dart (like you would with integration_test), but you are enabled to test interactions with native side - tap on native views, browse WebViews and even go interact with some other app on the device. The main goal of Patrol is to make running Flutter UI tests a piece of cake for QA teams and devs.

We’ll share with you the problems with existing solutions that prompted us to start Patrol, what differentiates it from others, and how it helps you write tests. We’ll also take a look under its hood and share the blockers that we encountered (and are still encountering) developing it, and what features we’re planning in the future.

We gave this talk at Fluttered Wrocław meetup (the slides were in English, but the meetup organizer told us to speak Polish).

Talk video: https://fb.watch/jeTridyXhL/

There are no prerequisites to this talk, it's good to know about Flutter integration_test package, but in general we give a short introduction about the Flutter testing tools and the talk is for people that want to test UI or are currently testing UI and want to get their testing work done faster and without native blockers.

Mateusz Wojtczak

Head of Mobile @ LeanCode

Warsaw, Poland

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top